mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
wpa_supplicant AP: More thorough AP mode deinit
This commit is contained in:
parent
508545f3a9
commit
7a649c7dda
@ -258,9 +258,11 @@ void wpa_supplicant_ap_deinit(struct wpa_supplicant *wpa_s)
|
||||
if (wpa_s->ap_iface == NULL)
|
||||
return;
|
||||
|
||||
wpa_s->current_ssid = NULL;
|
||||
hostapd_interface_deinit(wpa_s->ap_iface);
|
||||
hostapd_interface_free(wpa_s->ap_iface);
|
||||
wpa_s->ap_iface = NULL;
|
||||
wpa_drv_deinit_ap(wpa_s);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user