]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: Fix IWL_SUBDEVICE_NO_160 macro to use the correct bit.
authorMatti Gottlieb <matti.gottlieb@intel.com>
Fri, 22 Jan 2021 12:52:40 +0000 (14:52 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 25 Jan 2021 13:59:22 +0000 (15:59 +0200)
commit03eca0dab519a471dc5bbdfa3246e2a046a95249
tree996b2de1ec0cf71dadd4b516f72f5763d6906f0f
parent2a7a7329d28fff016717a970bf0969631c40ffb7
iwlwifi: Fix IWL_SUBDEVICE_NO_160 macro to use the correct bit.

The bit that indicates if the device supports 160MHZ
is bit #9. The macro checks bit #8.

Fix IWL_SUBDEVICE_NO_160 macro to use the correct bit.

Signed-off-by: Matti Gottlieb <matti.gottlieb@intel.com>
Fixes: 2830727df17e ("iwlwifi: add mac/rf types and 160MHz to the device tables")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20210122144849.bddbf9b57a75.I16e09e2b1404b16bfff70852a5a654aa468579e2@changeid
drivers/net/wireless/intel/iwlwifi/iwl-config.h