diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2018-08-31 11:31:12 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-09-03 10:39:34 +0200 |
commit | 6c18b27d6e5c6a7206364eae2b47bc8d8b2fa68f (patch) | |
tree | 64f01d144b976b27240de90571067189b44763a7 /net/mac80211/spectmgmt.c | |
parent | 0007e94355fdb71a1cf5dba0754155cba08f0666 (diff) |
mac80211: don't Tx a deauth frame if the AP forbade Tx
If the driver fails to properly prepare for the channel
switch, mac80211 will disconnect. If the CSA IE had mode
set to 1, it means that the clients are not allowed to send
any Tx on the current channel, and that includes the
deauthentication frame.
Make sure that we don't send the deauthentication frame in
this case.
In iwlwifi, this caused a failure to flush queues since the
firmware already closed the queues after having parsed the
CSA IE. Then mac80211 would wait until the deauthentication
frame would go out (drv_flush(drop=false)) and that would
never happen.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/spectmgmt.c')
0 files changed, 0 insertions, 0 deletions