wifi: iwlwifi: mvm: disconnect long CSA only w/o alternative
authorJohannes Berg <johannes.berg@intel.com>
Wed, 30 Aug 2023 08:30:51 +0000 (11:30 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Sep 2023 10:36:25 +0000 (12:36 +0200)
commitaee2eac7ccbe975cd1463f558cffc34605e02050
tree746fb26a4aa357b7b51203907e9808b93d472470
parent11d0d8311925e1c26e413fbbb8286d84be63fa61
wifi: iwlwifi: mvm: disconnect long CSA only w/o alternative

If there's an alternative link to use while the CSA is in
progress, there's no need to disconnect since another link
is still usable during the switching time. Change the code
here to handle that accordingly.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230830112059.dd1b96a37e51.Idafdcbfcb36ca4c486f4221aef77643869331514@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c