]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant.c
Initialize new_connection = 1 to fix wpa_supplicant AP mode operstate
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 15 Dec 2009 11:17:56 +0000 (13:17 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 15 Dec 2009 11:17:56 +0000 (13:17 +0200)
commitc302f20740fade2547b0e315d22fc14b93ec86d3
tree2cfe904df27a79e538ae2dc84fb3688b29e3b7fd
parentcdc7f66bda6541ca7effe8d5b13f75c8323b6789
Initialize new_connection = 1 to fix wpa_supplicant AP mode operstate

When setting up an AP with wpa_supplicant, the initial connection was
not necessarily setting oper state from DORMANT to UP which would be
blocking normal data frames. Fix this by initializing new_connection
to 1 so that even the first change to COMPLETED state will end up
setting oper state.
wpa_supplicant/wpa_supplicant.c