]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: enable TX on new CSA channel before disconnecting
authorSara Sharon <sara.sharon@intel.com>
Tue, 30 Mar 2021 13:24:49 +0000 (16:24 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 14 Apr 2021 09:05:26 +0000 (12:05 +0300)
commitff057be206f2a07e74847aefe369571b759cd3dd
treedf3ff4f49a55ae2e7716460bfc15820c04160b3e
parent2c10a9f1f4d010fc5d63a700aa1aed09b30fef8e
iwlwifi: mvm: enable TX on new CSA channel before disconnecting

When moving to the new channel, we block TX until we hear the
first beacon. if it is not heard, we proceed to disconnect.
Since TX is blocked (without mac80211 being aware of it) the frame
is stuck, resulting with queue hang.

Instead, reenable TX before reporting on the connection loss.
As we are on the new channel, there is no problem with that,
even if the original CSA had quiet mode.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210330162204.eb4f2ff1b863.Ib16238106b33d58b2b7688dc6297018b915ecef4@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c