aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-12-19 23:30:09 (GMT)
committerJouni Malinen <j@w1.fi>2016-12-19 23:30:09 (GMT)
commit1f0fdaf0e45fac76fcd6d2382e28e0298e1edef0 (patch)
tree0259df6d97feaa0b16123106bcaf60800bcc5f92 /src/p2p
parentad02e79d12fd70ed6bd5fbaf64001a2851e5bb7b (diff)
downloadhostap-1f0fdaf0e45fac76fcd6d2382e28e0298e1edef0.zip
hostap-1f0fdaf0e45fac76fcd6d2382e28e0298e1edef0.tar.gz
hostap-1f0fdaf0e45fac76fcd6d2382e28e0298e1edef0.tar.bz2
Fix race condition between AssocResp callback and 4addr event
It is apparently possible for the NL80211_CMD_UNEXPECTED_4ADDR_FRAME event to be delivered to hostapd before the NL80211_CMD_FRAME_TX_STATUS event for (Re)Association Response frame. This resulted in the 4-address WDS mode not getting enabled for a STA. This could occur in particular when operating under heavy load and the STA is reconnecting to the same AP in a sequence where Deauthentication frame is followed immediately by Authentication frame and the driver event processing gets delayed due to removal of the previous netdev taking time in the middle of this sequence. Fix this by recording a pending item for 4-address WDS enabling if the NL80211_CMD_UNEXPECTED_4ADDR_FRAME event would have been dropped due to incompleted association and then process this pending item if the TX status for the (Re)Association Response frame is received and it shows that the frame was acknowledged. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/p2p')
0 files changed, 0 insertions, 0 deletions