]> git.ipfire.org Git - thirdparty/hostap.git/commit
wpa_supplicant: Set state to DISCONNECTED on AP creation errors
authorDan Williams <dcbw@redhat.com>
Sun, 23 Sep 2012 10:55:58 +0000 (13:55 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 23 Sep 2012 10:55:58 +0000 (13:55 +0300)
commit8c981d179b71b1d91ea06af35e456ff53dfcdeff
tree15d946413ac57d052590c0ee9fb07071e08e7e58
parent73a3c6ffca0c0292289c4fc598402b4227c85faf
wpa_supplicant: Set state to DISCONNECTED on AP creation errors

If the AP creation failed (missing freq= or driver error) the supplicant
would previously stay in SCANNING state forever. Instead, it should
handle the error a bit better and drop back to DISCONNECTED so clients
know something went wrong.

Signed-hostap: Dan Williams <dcbw@redhat.com>
intended-for: hostap-1
wpa_supplicant/wpa_supplicant.c