summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore/files/5.14-iwlwifi-fix-5e003982b07ae.patch
blob: e1eb15f96049c495743b02b477cc4f3eb5ea2217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -Naur linux-5.7.7/drivers/net/wireless/intel/iwlwifi/pcie/drv.c linux-5.7.7-p/drivers/net/wireless/intel/iwlwifi/pcie/drv.c
--- linux-5.7.7/drivers/net/wireless/intel/iwlwifi/pcie/drv.c	2020-06-30 22:21:22.000000000 +0200
+++ linux-5.7.7-p/drivers/net/wireless/intel/iwlwifi/pcie/drv.c	2020-07-14 03:08:27.106340422 +0200
@@ -581,9 +581,10 @@
 	IWL_DEV_INFO(0x271C, 0x0214, iwl9260_2ac_cfg, iwl9260_1_name),
 
 /* AX200 */
+	/* IWL_CFG_ANY need to be the first entry, otherwise everything is overridden */
+	IWL_DEV_INFO(0x2723, IWL_CFG_ANY, iwl_ax200_cfg_cc, iwl_ax200_name),
 	IWL_DEV_INFO(0x2723, 0x1653, iwl_ax200_cfg_cc, iwl_ax200_killer_1650w_name),
 	IWL_DEV_INFO(0x2723, 0x1654, iwl_ax200_cfg_cc, iwl_ax200_killer_1650x_name),
-	IWL_DEV_INFO(0x2723, IWL_CFG_ANY, iwl_ax200_cfg_cc, iwl_ax200_name),
 
 /* Qu with Hr */
 	IWL_DEV_INFO(0x43F0, 0x0044, iwl_ax101_cfg_qu_hr, NULL),