FT: Fix hostapd with driver-based SME to authorize the STA
authorDarshan Paranji Sri <dparanji@qti.qualcomm.com>
Fri, 12 Sep 2014 15:46:56 +0000 (18:46 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 12 Sep 2014 15:46:56 +0000 (18:46 +0300)
commite4474c1c20a1442f96dfe6680881bb04648738f8
tree9aed688412d2dcfefd877d2be049ad365c71682e
parenta567aae4a1bd7bdca03bf801dbc40289847a0b26
FT: Fix hostapd with driver-based SME to authorize the STA

The driver-based SME case did not set STA flags properly to the kernel
in the way that hostapd-SME did in ieee802_11.c. This resulted in the FT
protocol case not marking the STA entry authorized. Fix that by handling
the special WLAN_AUTH_FT case in hostapd_notif_assoc() and also add the
forgotten hostapd_set_sta_flags() call to synchronize these flag to the
driver.

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