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
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
eloop_cancel_timeout(wpas_network_reenabled, wpa_s, NULL);
|
||||||
wpa_s->wnmsleep_used = 0;
|
wpa_s->wnmsleep_used = 0;
|
||||||
|
|
||||||
|
#ifdef CONFIG_SME
|
||||||
|
wpa_s->sme.last_unprot_disconnect.sec = 0;
|
||||||
|
#endif /* CONFIG_SME */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue