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.
Cherry-picked from upstream: ea184114ca04ac42f219bb655da5e11dc0a8f73b
Original author: Jouni Malinen <jouni.malinen@atheros.com>
BUG=chromium-os:11198
TEST=Tested using a specially modified kernel used to insert a DEAUTH
instead of a positive REASSOC response. This replicates the issue
without the change, and verifies correct operation after the change.
Going back to a normal kernel (but with this wpa_supplciant change in
place), verified propoer operation of the WiFiRoaming suite.
Change-Id: I76047c15c59cad3600239499611677512cd18023
Review URL: http://codereview.chromium.org/6260043
1 file changed