wifi: iwlwifi: fix 6005N/SFF match
authorJohannes Berg <johannes.berg@intel.com>
Mon, 5 May 2025 18:56:52 +0000 (21:56 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Wed, 7 May 2025 03:08:02 +0000 (06:08 +0300)
That mask should never have been 0xFFFF (mask also doesn't
make sense in that case) but rather 0xF000 since I combined
a few entries with 0xC___.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20250505215513.63bdbd67b72d.Id9b93b695c91117967dfd339c76bdfcd2872bee6@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/drv.c

index 36ae27a5cd42eef7c565a6c0084e058d8573da94..22049bc7e72e5c969c25b2a4da2589cd851ffede 100644 (file)
@@ -669,7 +669,7 @@ VISIBLE_IF_IWLWIFI_KUNIT const struct iwl_dev_info iwl_dev_info_table[] = {
                     DEVICE(0x0085), SUBDEV_MASKED(0x6, 0xF)),
 
        IWL_DEV_INFO(iwl6005_n_cfg, iwl6005_2agn_sff_name,
-                    DEVICE(0x0082), SUBDEV_MASKED(0xC000, 0xFFFF)),
+                    DEVICE(0x0082), SUBDEV_MASKED(0xC000, 0xF000)),
        IWL_DEV_INFO(iwl6005_n_cfg, iwl6005_2agn_d_name,
                     DEVICE(0x0082), SUBDEV(0x4820)),
        IWL_DEV_INFO(iwl6005_n_cfg, iwl6005_2agn_mow1_name,