wifi: iwlwifi: mvm: fix SB CFG check
authorJohannes Berg <johannes.berg@intel.com>
Wed, 4 Oct 2023 09:36:25 +0000 (12:36 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Oct 2023 10:21:47 +0000 (12:21 +0200)
commit3277baa9a76732dd90f356144590d302231ca0d3
tree7231198d6744b181860cf0b3b6ea813980d5d870
parente9dd25550770a0ad301b482db860032cdd890548
wifi: iwlwifi: mvm: fix SB CFG check

We shouldn't check the 0x10 bit here, since the register
holds different values (not just bit masks.). Check for
the exact value where this is needed only.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20231004123422.ab21c7d5e219.I4f9906ebc7ecf38fd276510a276280a9261c8f7f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-prph.h
drivers/net/wireless/intel/iwlwifi/mvm/fw.c