mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
Flush secondary device types on FLUSH command
This makes it possible to clear previously configured secondary device types. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
c70ebce0ba
commit
78f0c933e0
@ -5261,6 +5261,7 @@ static void wpa_supplicant_ctrl_iface_flush(struct wpa_supplicant *wpa_s)
|
||||
wpas_p2p_service_flush(wpa_s);
|
||||
wpa_s->global->p2p_disabled = 0;
|
||||
wpa_s->global->p2p_per_sta_psk = 0;
|
||||
wpa_s->conf->num_sec_device_types = 0;
|
||||
#endif /* CONFIG_P2P */
|
||||
|
||||
#ifdef CONFIG_WPS_TESTING
|
||||
|
Loading…
x
Reference in New Issue
Block a user