|
@@ -341,6 +341,7 @@ static int hostapd_flush_old_stations(struct hostapd_data *hapd)
|
|
wpa_printf(MSG_DEBUG, "Deauthenticate all stations");
|
|
wpa_printf(MSG_DEBUG, "Deauthenticate all stations");
|
|
os_memset(addr, 0xff, ETH_ALEN);
|
|
os_memset(addr, 0xff, ETH_ALEN);
|
|
hostapd_drv_sta_deauth(hapd, addr, WLAN_REASON_PREV_AUTH_NOT_VALID);
|
|
hostapd_drv_sta_deauth(hapd, addr, WLAN_REASON_PREV_AUTH_NOT_VALID);
|
|
|
|
+ hostapd_free_stas(hapd);
|
|
|
|
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|