mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-29 16:24:03 -05:00
SME: Request a new scan if SME association command fails
This handles some error cases without getting stuck waiting for new events from the driver if association command fails for any reason.
This commit is contained in:
parent
582507be85
commit
b85e772449
@ -314,6 +314,7 @@ void sme_event_auth(struct wpa_supplicant *wpa_s, union wpa_event_data *data)
|
||||
if (wpa_drv_associate(wpa_s, ¶ms) < 0) {
|
||||
wpa_msg(wpa_s, MSG_INFO, "Association request to the driver "
|
||||
"failed");
|
||||
wpa_supplicant_req_scan(wpa_s, 5, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user