]> git.ipfire.org Git - thirdparty/hostap.git/commit
Remove STA entry from AP when starting TKIP countermeasures
authorJouni Malinen <j@w1.fi>
Mon, 25 Jun 2012 10:53:24 +0000 (13:53 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 25 Jun 2012 10:53:24 +0000 (13:53 +0300)
commit296a34f0c1730416bf2a61ab78690be43d82a3c0
treeccb71831fca7de9ebd32eabd8bec429a71c5406d
parent9148ae58d04ac9baed3d56a70ce594492dab3769
Remove STA entry from AP when starting TKIP countermeasures

Previously, the STA entry was removed only from the driver and the STA
entry within hostapd was just marked disassociated. However, this left
the WPA authenticator state machine with an entry and the session was
not terminated properly. In addition, the STA entry could have remaining
indefinitely if the STA did not reconnect after TKIP countermeasures.
Fix this by removing the STA entry from hostapd instead of just leaving
it disassociated.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/ap/tkip_countermeasures.c