SME: Fix processing of Authentication request failure
authorJouni Malinen <j@w1.fi>
Sun, 4 Dec 2011 19:04:24 +0000 (21:04 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 4 Dec 2011 19:04:24 +0000 (21:04 +0200)
commited57c5907ebe10d7b2bbd21619d74dd4a48c245f
treedfa82b5afbb240fadf09aa78eccf798cabb258a5
parent8b41e056562e113f64f2979d2e5eaca8d5f992e8
SME: Fix processing of Authentication request failure

The wpa_state needs to be dropped back to DISCONNECTED to allow scan
results to trigger a new authentication attempt. In addition, we can use
wpas_connection_failed() instead of requesting a scan after a fixed time
to make this error case more consistent with other similar error paths
in sme.c.

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