Make sched_scan debug clearer on timeout use
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
6ad9c91100
commit
a8cb5a8897
1 changed files with 9 additions and 3 deletions
|
@ -795,9 +795,15 @@ int wpa_supplicant_req_sched_scan(struct wpa_supplicant *wpa_s)
|
||||||
if (wpa_s->wps)
|
if (wpa_s->wps)
|
||||||
wps_ie = wpa_supplicant_extra_ies(wpa_s, ¶ms);
|
wps_ie = wpa_supplicant_extra_ies(wpa_s, ¶ms);
|
||||||
|
|
||||||
|
if (ssid || !wpa_s->first_sched_scan) {
|
||||||
|
wpa_dbg(wpa_s, MSG_DEBUG,
|
||||||
|
"Starting sched scan: interval %d (no timeout)",
|
||||||
|
wpa_s->sched_scan_interval);
|
||||||
|
} else {
|
||||||
wpa_dbg(wpa_s, MSG_DEBUG,
|
wpa_dbg(wpa_s, MSG_DEBUG,
|
||||||
"Starting sched scan: interval %d timeout %d",
|
"Starting sched scan: interval %d timeout %d",
|
||||||
wpa_s->sched_scan_interval, wpa_s->sched_scan_timeout);
|
wpa_s->sched_scan_interval, wpa_s->sched_scan_timeout);
|
||||||
|
}
|
||||||
|
|
||||||
ret = wpa_supplicant_start_sched_scan(wpa_s, ¶ms,
|
ret = wpa_supplicant_start_sched_scan(wpa_s, ¶ms,
|
||||||
wpa_s->sched_scan_interval);
|
wpa_s->sched_scan_interval);
|
||||||
|
|
Loading…
Reference in a new issue