mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-17 18:34:03 -05:00
Clear extra_blacklist_count on FLUSH command
This is needed to avoid old blacklist failure counts from being valid after state flush. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
6edaee9c82
commit
a8a7890d7c
@ -5059,6 +5059,7 @@ static void wpa_supplicant_ctrl_iface_flush(struct wpa_supplicant *wpa_s)
|
|||||||
|
|
||||||
wpa_bss_flush(wpa_s);
|
wpa_bss_flush(wpa_s);
|
||||||
wpa_blacklist_clear(wpa_s);
|
wpa_blacklist_clear(wpa_s);
|
||||||
|
wpa_s->extra_blacklist_count = 0;
|
||||||
wpa_supplicant_ctrl_iface_remove_network(wpa_s, "all");
|
wpa_supplicant_ctrl_iface_remove_network(wpa_s, "all");
|
||||||
wpa_supplicant_ctrl_iface_remove_cred(wpa_s, "all");
|
wpa_supplicant_ctrl_iface_remove_cred(wpa_s, "all");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user