Allow PNO scan also in connection completed state
Sched scan is supported by the kernel also in the connected state, so allow PNO scan to be issued in the connected state from wpa_supplicant as well. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
6f9b4de228
commit
b4fd1f0ed7
1 changed files with 1 additions and 1 deletions
|
@ -2449,7 +2449,7 @@ int wpas_start_pno(struct wpa_supplicant *wpa_s)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if ((wpa_s->wpa_state > WPA_SCANNING) &&
|
if ((wpa_s->wpa_state > WPA_SCANNING) &&
|
||||||
(wpa_s->wpa_state <= WPA_COMPLETED)) {
|
(wpa_s->wpa_state < WPA_COMPLETED)) {
|
||||||
wpa_printf(MSG_ERROR, "PNO: In assoc process");
|
wpa_printf(MSG_ERROR, "PNO: In assoc process");
|
||||||
return -EAGAIN;
|
return -EAGAIN;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue