iwlwifi: mvm: fix 22000 series driver NMI
authorJohannes Berg <johannes.berg@intel.com>
Wed, 9 Dec 2020 21:16:30 +0000 (23:16 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 9 Dec 2020 22:14:17 +0000 (00:14 +0200)
commit9e8338ad17eb8976edd5d2def516e4b3346a4470
treed3d76d3d44d4124b193e4ad49f8b8249026e80c5
parent3fa965c2dd4ef6503ffeb2e1ad17a4e46e14f6b3
iwlwifi: mvm: fix 22000 series driver NMI

For triggering an NMI in the firmware, we should only set BIT(24)
in the corresponding register, not the entire mask that's usable
by the driver.

This currently doesn't matter because the firmware only enables
BIT(24), but we'll start using BIT(25) for other purposes with an
upcoming API change.

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.2f982365d085.Id09daabfd331ba9e120abcbbedd2ad6448902ed0@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-io.c
drivers/net/wireless/intel/iwlwifi/iwl-prph.h