iwlwifi: mvm: csa: do not abort CSA before disconnect
authorShaul Triebitz <shaul.triebitz@intel.com>
Sun, 17 Jan 2021 14:52:27 +0000 (16:52 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 5 Feb 2021 09:55:16 +0000 (11:55 +0200)
commit701625803ccc5211f8edf70c7e0179ba252f5710
tree38515371db24e2fb4287483c36d400114ebc2901
parent708a39aaca2204dcacc96dec1401373063801213
iwlwifi: mvm: csa: do not abort CSA before disconnect

While disconnecting from the AP due to bad channel switch
params (e.g. too long Tx block), do not send the firmware
'CSA abort' before disconnecting. That causes canceling the
immediate quiet and can cause transmitting data before the
disconnection happens.

Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210117164916.b9af359a675f.I996fc7eb3d94e9539f8b117017c428448c42c7ad@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c