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
1 changed files with 1 additions and 1 deletions
|
@ -774,7 +774,7 @@ int wpa_supplicant_req_sched_scan(struct wpa_supplicant *wpa_s)
|
||||||
if (!ssid || !wpa_s->prev_sched_ssid) {
|
if (!ssid || !wpa_s->prev_sched_ssid) {
|
||||||
wpa_dbg(wpa_s, MSG_DEBUG, "Beginning of SSID list");
|
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->sched_scan_timeout = max_sched_scan_ssids * 2;
|
||||||
wpa_s->first_sched_scan = 1;
|
wpa_s->first_sched_scan = 1;
|
||||||
ssid = wpa_s->conf->ssid;
|
ssid = wpa_s->conf->ssid;
|
||||||
|
|
Loading…
Reference in a new issue