mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
SME: Retry scan after authentication failure
This is needed to avoid getting stuck if driver fails authentication request for some reason.
This commit is contained in:
parent
3f967fe055
commit
6e3f7173f1
@ -228,6 +228,7 @@ void sme_authenticate(struct wpa_supplicant *wpa_s,
|
||||
if (wpa_drv_authenticate(wpa_s, ¶ms) < 0) {
|
||||
wpa_msg(wpa_s, MSG_INFO, "Authentication request to the "
|
||||
"driver failed");
|
||||
wpa_supplicant_req_scan(wpa_s, 1, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user