[PATCH 2/3] wpa_supplicant: Delay AP selection if all networks are temporarily disabled

Jouni Malinen j
Sun Mar 22 13:15:20 PDT 2015


On Mon, Mar 16, 2015 at 01:20:02AM -0400, Ilan Peer wrote:
> 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.

Thanks, applied with number of changes. I added a call to cancel the
timeout in number of places to avoid getting unexpected connection
attempts if something external were to move wpa_supplicant into
disconnected (or connected, for that matter) state. In addition, this
mechanism needs to be skipped if there are any enabled credential blocks
for Interworking network connection and auto_interworking=1

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list