Fix sched_scan debug print regarding timeout
The debug messages were showing the opposite of what the actual implementation was doing for sched_scan timeout. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
54ddd74369
commit
7d21a223f1
1 changed files with 4 additions and 4 deletions
|
@ -895,13 +895,13 @@ int wpa_supplicant_req_sched_scan(struct wpa_supplicant *wpa_s)
|
||||||
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) {
|
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);
|
||||||
|
} else {
|
||||||
|
wpa_dbg(wpa_s, MSG_DEBUG,
|
||||||
|
"Starting sched scan: interval %d (no timeout)",
|
||||||
|
wpa_s->sched_scan_interval);
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = wpa_supplicant_start_sched_scan(wpa_s, ¶ms,
|
ret = wpa_supplicant_start_sched_scan(wpa_s, ¶ms,
|
||||||
|
|
Loading…
Reference in a new issue