|
@@ -1019,7 +1019,9 @@ 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");
|
|
|
-
|
|
|
+ if (wpa_s->conf->sched_scan_interval)
|
|
|
+ wpa_s->sched_scan_interval =
|
|
|
+ wpa_s->conf->sched_scan_interval;
|
|
|
if (wpa_s->sched_scan_interval == 0)
|
|
|
wpa_s->sched_scan_interval = 10;
|
|
|
wpa_s->sched_scan_timeout = max_sched_scan_ssids * 2;
|