]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd2214bac56a7f0b338fdbb7ce56a1ed5a500fed1
treed3d76d3d44d4124b193e4ad49f8b8249026e80c5
parenta509b7f33471ec629eba90fe348233f0c4188ba0
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