iwlwifi: mvm: disconnect if channel switch delay is too long
authorJohannes Berg <johannes.berg@intel.com>
Wed, 9 Dec 2020 21:16:44 +0000 (23:16 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 9 Dec 2020 22:16:04 +0000 (00:16 +0200)
commit87d9564e14cf5d05e4f1fa4eb7c55d798427f1dd
tree3699be25b617f12ae86124252106fd2c84f80dc3
parent906d4eb84408a4bfd63eef0de4f1bd5262f73ac0
iwlwifi: mvm: disconnect if channel switch delay is too long

If the channel switch delay that we would incur after the channel
switch actually happens is longer than the quiet time we're willing
to tolerate, disconnect as well.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20201209231352.3bc3449922da.Ib0255deb67b2fc21317e274adcacb545bb1dc669@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c