mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Increase min sched_scan interval from 2 to 10 seconds
Trying to run sched_scan round every two seconds by defaults sounds way too frequent since dualband cards are unlikely to be able to complete the full scan cycle in two seconds. For now, set the hardcoded value to 10 seconds to make this somewhat more reasonable. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
216eede830
commit
ea5bae4731
@ -774,7 +774,7 @@ int wpa_supplicant_req_sched_scan(struct wpa_supplicant *wpa_s)
|
||||
if (!ssid || !wpa_s->prev_sched_ssid) {
|
||||
wpa_dbg(wpa_s, MSG_DEBUG, "Beginning of SSID list");
|
||||
|
||||
wpa_s->sched_scan_interval = 2;
|
||||
wpa_s->sched_scan_interval = 10;
|
||||
wpa_s->sched_scan_timeout = max_sched_scan_ssids * 2;
|
||||
wpa_s->first_sched_scan = 1;
|
||||
ssid = wpa_s->conf->ssid;
|
||||
|
Loading…
Reference in New Issue
Block a user