diff options
author | David P <megver83@parabola.nu> | 2020-03-30 18:23:49 -0400 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2020-03-30 18:23:49 -0400 |
commit | 72c9ab660ff2d9068ffb126e3ee45aba10877507 (patch) | |
tree | 17bc24fe8efd8b02be9f30acd94c604e964eb1cd /kernels/linux-libre-xtreme/0002-iwlwifi-pcie-restore-support-for-Killer-Qu-C0-NICs.patch | |
parent | f9ec026b6d59348459a8e57046587d5a4ae7e4a1 (diff) | |
download | abslibre-72c9ab660ff2d9068ffb126e3ee45aba10877507.tar.gz abslibre-72c9ab660ff2d9068ffb126e3ee45aba10877507.tar.bz2 abslibre-72c9ab660ff2d9068ffb126e3ee45aba10877507.zip |
updpkg: kernels/linux-libre-xtreme 5.5.13-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'kernels/linux-libre-xtreme/0002-iwlwifi-pcie-restore-support-for-Killer-Qu-C0-NICs.patch')
-rw-r--r-- | kernels/linux-libre-xtreme/0002-iwlwifi-pcie-restore-support-for-Killer-Qu-C0-NICs.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/kernels/linux-libre-xtreme/0002-iwlwifi-pcie-restore-support-for-Killer-Qu-C0-NICs.patch b/kernels/linux-libre-xtreme/0002-iwlwifi-pcie-restore-support-for-Killer-Qu-C0-NICs.patch new file mode 100644 index 000000000..c729cbd74 --- /dev/null +++ b/kernels/linux-libre-xtreme/0002-iwlwifi-pcie-restore-support-for-Killer-Qu-C0-NICs.patch @@ -0,0 +1,42 @@ +From 09ad81782f04168200af2f7dc4345830bfee9eef Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com> +Date: Tue, 24 Dec 2019 06:16:39 +0100 +Subject: [PATCH 02/11] iwlwifi: pcie: restore support for Killer Qu C0 NICs + +Commit 809805a820c6 ("iwlwifi: pcie: move some cfg mangling from +trans_pcie_alloc to probe") refactored the cfg mangling. Unfortunately, +in this process the lines which picked the right cfg for Killer Qu C0 +NICs after C0 detection were lost. These lines were added by commit +b9500577d361 ("iwlwifi: pcie: handle switching killer Qu B0 NICs to +C0"). + +I suspect this is more of the "merge damage" which commit 7cded5658329 +("iwlwifi: pcie: fix merge damage on making QnJ exclusive") talks about. + +Restore the missing lines so the driver loads the right firmware for +these NICs. + +Fixes: 809805a820c6 ("iwlwifi: pcie: move some cfg mangling from trans_pcie_alloc to probe") +Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +--- + drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c +index b0b7eca1754e..de62a6dc4e73 100644 +--- a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c ++++ b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c +@@ -1107,6 +1107,10 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) + cfg = &iwl9560_2ac_cfg_qu_c0_jf_b0; + else if (cfg == &iwl9560_2ac_160_cfg_qu_b0_jf_b0) + cfg = &iwl9560_2ac_160_cfg_qu_c0_jf_b0; ++ else if (cfg == &killer1650s_2ax_cfg_qu_b0_hr_b0) ++ cfg = &killer1650s_2ax_cfg_qu_c0_hr_b0; ++ else if (cfg == &killer1650i_2ax_cfg_qu_b0_hr_b0) ++ cfg = &killer1650i_2ax_cfg_qu_c0_hr_b0; + } + + /* same thing for QuZ... */ +-- +2.26.0 + |