mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 02:44:03 -05:00
Clear wpa_s->sme.last_unprot_disconnect.sec on FLUSH command
This is needed for hwsim test cases to allow multiple STA-initiated SA Query operations in short amount of time. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
e0a9370b3f
commit
ab6ab07ad1
@ -7228,6 +7228,10 @@ static void wpa_supplicant_ctrl_iface_flush(struct wpa_supplicant *wpa_s)
|
||||
|
||||
eloop_cancel_timeout(wpas_network_reenabled, wpa_s, NULL);
|
||||
wpa_s->wnmsleep_used = 0;
|
||||
|
||||
#ifdef CONFIG_SME
|
||||
wpa_s->sme.last_unprot_disconnect.sec = 0;
|
||||
#endif /* CONFIG_SME */
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user