]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Disassoc STA without WPA/RSN IE if AP proto is WPA/RSN
authorHu Wang <huw@codeaurora.org>
Wed, 25 Oct 2017 11:51:09 +0000 (19:51 +0800)
committerJouni Malinen <j@w1.fi>
Thu, 23 Nov 2017 18:12:34 +0000 (20:12 +0200)
commit63dc0f9c4d89253987a9676f3b10d8ec44139357
treea68b8d98d7cbf3f17cec3d2ad6d6e68aa392b43c
parent9f85f0edd33f68bd73c93b2e7b9280fb2150c839
hostapd: Disassoc STA without WPA/RSN IE if AP proto is WPA/RSN

With the AP proto configured being WPA/RSN and SME in the
driver, the previous implementation in hostapd is to not
process hostapd_notif_assoc() due to "No WPA/RSN IE from STA",
if the (Re)Association Request frame is without the WPA/RSN IEs.

Enhance that to disassociate such station provided the AP is not using
WPS.

Signed-off-by: Hu Wang <huw@codeaurora.org>
src/ap/drv_callbacks.c