]> git.ipfire.org Git - thirdparty/hostap.git/commit
Disconnect STA when it fails to get added in kernel driver/firmware
authorYogesh Ashok Powar <yogeshp@marvell.com>
Sat, 15 Oct 2011 09:41:28 +0000 (12:41 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 15 Oct 2011 09:41:28 +0000 (12:41 +0300)
commit8666585b9ef5b758d52518925b711eba28b631d4
tree716321f40b6d3a71068f9722a3a33062693175d7
parent5dd80dd6612ca25ed88383f8ca45bae2552ca658
Disconnect STA when it fails to get added in kernel driver/firmware

Data path for stations that get successfully associated to the
hostapd but fail to get added in the driver/firmware, will not
work. In such cases, hostapd should deauth and disconnect such
stations. In such scenario, hostapd should disconnect the STAs.

Sample output with following patch
wlan0: STA 0c:74:c2:9a:4c:59 IEEE 802.11: authenticated
wlan0: STA 0c:74:c2:9a:4c:59 IEEE 802.11: associated (aid 1)
wlan0: AP-STA-CONNECTED 0c:74:c2:9a:4c:59
wlan0: STA 0c:74:c2:9a:4c:59 IEEE 802.11: Could not add STA to kernel driver
wlan0: STA 0c:74:c2:9a:4c:59 IEEE 802.11: deauthenticated due to local deauth request

Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
src/ap/ieee802_11.c