summaryrefslogtreecommitdiff
path: root/net/wireless/nl80211.c
diff options
context:
space:
mode:
authorJouni Malinen <quic_jouni@quicinc.com>2023-12-19 20:48:14 +0300
committerJohannes Berg <johannes.berg@intel.com>2023-12-21 22:35:14 +0300
commitb133fdf07db849eb2ce25df19d88ff31701d3b6d (patch)
tree5469c1baf4d090f0fba44210d916d9a971641503 /net/wireless/nl80211.c
parent756df9853491e28acbe7fca9f8146a784f026117 (diff)
downloadlinux-b133fdf07db849eb2ce25df19d88ff31701d3b6d.tar.xz
wifi: mac80211: Skip association timeout update after comeback rejection
It is possible for the TX status report for the (Re)Association Request frame to be delayed long enough for the AP's (Re)Association Response frame to be received and processed before it. If that were to happen for a case where the AP rejects the association with indication to come back later, the association timeout and retry state should not be modified anymore with the TX status information that would be processed after this. Updating the association timeout in such a reverse order of events could result in shortening the timeouts for the association comeback mechanism and that could result in the association failing. Track whether we have already processed association rejection with comeback time and if so, skip the timeout and retry update on any following TX status report. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com> Link: https://msgid.link/20231219174814.2581575-1-j@w1.fi Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/nl80211.c')
0 files changed, 0 insertions, 0 deletions