Set the station to authorized on assoc event for open authentication
authorSunil Dutt Undekari <usdutt@qti.qualcomm.com>
Tue, 25 Feb 2014 17:02:02 +0000 (22:32 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 6 Mar 2014 20:45:15 +0000 (22:45 +0200)
commit113318ad574a47d41dcb1f160d11500e2d140d7d
treee265261a213c5d4354c1bd4c059d6d8e7d83f366
parent905828fea4b95a6d48ce86e1b5272c25a618b3d8
Set the station to authorized on assoc event for open authentication

This was done in handle_assoc_cb() in ieee802_11.c for drivers that use
hostapd SME/MLME. However, drivers that include SME/MLME implementation
do not use that function and the STA flag needs to be set when
processing the association notification. This is needed to get the STA
entry into showing the proper authorized state and to get the
AP-STA-CONNECTED/DISCONNECTED events on the control interface.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/hostapd.c