Do not stop ongoing PNO sched_scan on association/disconnection
authorMahesh A Saptasagar <c_msapta@qti.qualcomm.com>
Tue, 30 Jun 2015 07:11:27 +0000 (12:41 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 13 Aug 2015 18:10:16 +0000 (21:10 +0300)
commit0d0f7ecbb18990299e394c60e9dae842a54cf1ca
tree153798d742824fdcad4ca8fb81d505258563001f
parent76de2b6708e050caf1f84c9ddc2c435c9f2e114a
Do not stop ongoing PNO sched_scan on association/disconnection

PNO was stopped by the wpa_supplicant during the connection attempts or
while handling disassociation indication. External entities, mainly, the
Android Wi-Fi framework, does not expects PNO to be stopped by other
modules. Hence, do not stop the sched_scan in these scenarios if it is
triggered externally for PNO.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/events.c
wpa_supplicant/wpa_supplicant.c