wifi: iwlwifi: mvm: check the right csa_active
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 20 Jun 2023 10:03:49 +0000 (13:03 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Jun 2023 12:02:14 +0000 (14:02 +0200)
commit26aa35e2c5a1cbb05e939c92464437e205dd0087
tree1aa81077d36502513fb7ff579087a8185b8293ee
parent1caa3a5e921c146cc82a674e7ef01633a142c475
wifi: iwlwifi: mvm: check the right csa_active

When the firmware says that the channel switch is happening, we check
that we know about that switch by checking the csa_active bit.

Until now, we checked the bss_conf from the vif instead of taking the
bss_conf of the link.
Fix that.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230620125813.63f835a4f578.I0bb2a231e4da506b7c751dc23a428558f9ecfa75@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c