mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Try to use fast-associate on ENABLE_NETWORK
This makes ENABLE_NETWORK behave similarily to SELECT_NETWORK by allowing a scan to be skipped if recent scan results are available. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
b06800170a
commit
dad153d16b
@ -1803,7 +1803,8 @@ void wpa_supplicant_enable_network(struct wpa_supplicant *wpa_s,
|
||||
wpa_supplicant_cancel_sched_scan(wpa_s);
|
||||
}
|
||||
|
||||
wpa_supplicant_req_scan(wpa_s, 0, 0);
|
||||
if (wpa_supplicant_fast_associate(wpa_s) != 1)
|
||||
wpa_supplicant_req_scan(wpa_s, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user