]> www.infradead.org Git - users/griffoul/linux.git/commitdiff
wifi: iwlwifi: cfg: restore some 1000 series configs
authorJohannes Berg <johannes.berg@intel.com>
Thu, 28 Aug 2025 06:55:29 +0000 (09:55 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Thu, 28 Aug 2025 11:51:56 +0000 (14:51 +0300)
In the fixed commit, I inadvertently removed two configurations
while combining the 0x0083/0x0084 device IDs. Replace the fixed
matches for the BG versions by a masked match and add the BGN
version back with a similar masked match.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=220477
Fixes: 1fb053d9876f ("wifi: iwlwifi: cfg: remove unnecessary configs")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20250828095500.fabb99c2df9e.If0ad87bf9ab360da5f613e879fd416c17c544733@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/drv.c

index 46d8c1922292687ed7aac5f83fc75995b3a07e3d..f5e72c90dd5782ed3780bd438c0bee83eda2f596 100644 (file)
@@ -729,10 +729,10 @@ VISIBLE_IF_IWLWIFI_KUNIT const struct iwl_dev_info iwl_dev_info_table[] = {
                     DEVICE(0x0083), SUBDEV_MASKED(0x5, 0xF)),
        IWL_DEV_INFO(iwl1000_bg_cfg, iwl1000_bg_name,
                     DEVICE(0x0083), SUBDEV_MASKED(0x6, 0xF)),
+       IWL_DEV_INFO(iwl1000_bgn_cfg, iwl1000_bgn_name,
+                    DEVICE(0x0084), SUBDEV_MASKED(0x5, 0xF)),
        IWL_DEV_INFO(iwl1000_bg_cfg, iwl1000_bg_name,
-                    DEVICE(0x0084), SUBDEV(0x1216)),
-       IWL_DEV_INFO(iwl1000_bg_cfg, iwl1000_bg_name,
-                    DEVICE(0x0084), SUBDEV(0x1316)),
+                    DEVICE(0x0084), SUBDEV_MASKED(0x6, 0xF)),
 
 /* 100 Series WiFi */
        IWL_DEV_INFO(iwl100_bgn_cfg, iwl100_bgn_name,