Delay AP selection if all networks are temporarily disabled
authorAvraham Stern <avraham.stern@intel.com>
Mon, 16 Mar 2015 05:20:02 +0000 (01:20 -0400)
committerJouni Malinen <j@w1.fi>
Sun, 22 Mar 2015 18:53:58 +0000 (20:53 +0200)
commit9bd566a33a024675e8918ab5c77e7fc03067bc44
tree0acad26fb6521ebb88ba44bec7ba66af1872169c
parent701f3961e3781960ec2dff168a44e167e1dae292
Delay AP selection if all networks are temporarily disabled

If all networks are temporarily disabled, delay AP selection until at
least one network is enabled. Running AP selection when all networks are
disabled is useless as wpa_supplicant will not try to connect. In
addition, it will result in needless scan iterations that may delay the
connection when it is needed.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
wpa_supplicant/ctrl_iface.c
wpa_supplicant/events.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h