SME: Fix disconnec-while-authenticating
authorJouni Malinen <j@w1.fi>
Sat, 1 Sep 2012 14:20:27 +0000 (17:20 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 1 Sep 2012 14:20:27 +0000 (17:20 +0300)
commitbcdf2096bd7e89161ada76c6915eb04ad98f6c77
treebb75a92a6a1affdaf3c376fb9447256c34fc5067
parent0aadd5682fc75f7ed442626bdb680b1b30aa3fae
SME: Fix disconnec-while-authenticating

Commit 0d30cc240fa36905b034dc9676f9d8da0ac18e56 forced
wpa_s->current_ssid to be cleared in wpa_supplicant_mark_disassoc()
which gets called from wpa_supplicant_event_disassoc(). This broke SME
disassoc-while-authenticating workaround for cfg80211. Fix this by
restoring wpa_s->current_ssid in case SME authentication is in progress.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/events.c