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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2021 22:28:42 +0000 (23:28 +0100)
commit800ca7687c87368817b5985b9093363351969363
tree8c9aae617de6af318e5c73b13785bc506eb70af3
parent621f05288c3da4055aa93b240f8aa68063db2df3
iwlwifi: Fix IWL_SUBDEVICE_NO_160 macro to use the correct bit.

commit 4886460c4d1576e85b12601b8b328278a483df86 upstream.

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: d6f2134a3831 ("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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/iwl-config.h