Allow auto-connect to request scan in associating state
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 14 Sep 2010 07:07:54 +0000 (00:07 -0700)
committerJouni Malinen <j@w1.fi>
Tue, 14 Sep 2010 07:07:54 +0000 (00:07 -0700)
commitea184114ca04ac42f219bb655da5e11dc0a8f73b
treea7e8aa006be7f0f9bd7f1714f129c422afd646ac
parent0f66abd25bde08f4bf8464002430f14e58125930
Allow auto-connect to request scan in associating state

Disconnection event may be received while in associating state.
Previously, wpa_supplicant could get stuck not trying to reconnect
in that case at least with nl80211. Allow scan request in this
state to avoid the issue. This helps especially with APs that do
load balancing by sending Deauthentication frame as a response to
Reassociation Request frame after successful Authentication frame
exchange.
wpa_supplicant/events.c