]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Clear WLAN_STA_ASSOC_REQ_OK if sending the assoc response failed
authorFelix Fietkau <nbd@openwrt.org>
Sun, 23 Sep 2012 10:23:16 +0000 (13:23 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 23 Sep 2012 10:23:16 +0000 (13:23 +0300)
commit22b42372d081eb8e310742f718ebe9abcfacb51c
tree050aa1104f583144e4a4045119793a6ce42cae6a
parentdd31eb79a27828aeec33e4c7ff150d4cf6702275
hostapd: Clear WLAN_STA_ASSOC_REQ_OK if sending the assoc response failed

As long as WLAN_STA_ASSOC_REQ_OK is set in sta->flags, Class 3 frames do
not trigger a disassoc/deauth. If it is still set even after the assoc
response tx has already failed, it may take somewhat longer for clients
to realize that the connection wasn't fully established.

Signed-hostap: Felix Fietkau <nbd@openwrt.org>
src/ap/ieee802_11.c