Add workaround for race condition with AssocResp TX status
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 15 Apr 2011 16:26:28 +0000 (19:26 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 15 Apr 2011 16:26:28 +0000 (19:26 +0300)
commitb8281964afb1df98135418fc22a9fa240968d100
tree5790845faa6e0ce7fd156ccb7691f310ddb52c16
parent60b24b0de4800b0b8461b43a21ad3e59414f34b1
Add workaround for race condition with AssocResp TX status

It may take some time for the TX status to be delivered for a
(Re)Association Response frame and if any Data frames are received
during that time, they may end up getting dropped as Class 3 frames in
not-associated state. This results in a Disassociation frame being sent
to the station and it assuming that the association has been lost.

Work around the issue by remembering that the (Re)Association Request
has already been accepted and skip the Deauth/Disassoc sending because
of the possible Class 3 frames before the TX status callback is
received.
src/ap/ieee802_11.c
src/ap/sta_info.h