summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore-lts/files/5.10-iwlwifi-use-debug-for-debug-infos.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-07 11:02:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-07 11:02:32 +0000
commit523cb58bc62eaa334e2b0b424637cbcb3b99deea (patch)
treeade0062d4cbf57ed828af1e6320fe11dadfc7641 /sys-kernel/linux-sources-redcore-lts/files/5.10-iwlwifi-use-debug-for-debug-infos.patch
parent0cd68e3c9f55242994f5d1e67574aebf79575d18 (diff)
sys-kernel : reSLOT the kernels, add v6.1
Diffstat (limited to 'sys-kernel/linux-sources-redcore-lts/files/5.10-iwlwifi-use-debug-for-debug-infos.patch')
-rw-r--r--sys-kernel/linux-sources-redcore-lts/files/5.10-iwlwifi-use-debug-for-debug-infos.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-kernel/linux-sources-redcore-lts/files/5.10-iwlwifi-use-debug-for-debug-infos.patch b/sys-kernel/linux-sources-redcore-lts/files/5.10-iwlwifi-use-debug-for-debug-infos.patch
new file mode 100644
index 00000000..5ec56c69
--- /dev/null
+++ b/sys-kernel/linux-sources-redcore-lts/files/5.10-iwlwifi-use-debug-for-debug-infos.patch
@@ -0,0 +1,24 @@
+diff -Naur linux-5.9/drivers/net/wireless/intel/iwlwifi/fw/dbg.c linux-5.9-p/drivers/net/wireless/intel/iwlwifi/fw/dbg.c
+--- linux-5.9/drivers/net/wireless/intel/iwlwifi/fw/dbg.c 2020-10-11 23:15:50.000000000 +0200
++++ linux-5.9-p/drivers/net/wireless/intel/iwlwifi/fw/dbg.c 2020-10-12 00:56:12.171166232 +0200
+@@ -2554,7 +2554,7 @@
+ return -EINVAL;
+
+ if (fwrt->dump.conf != FW_DBG_INVALID)
+- IWL_INFO(fwrt, "FW already configured (%d) - re-configuring\n",
++ IWL_DEBUG_FW_INFO(fwrt, "FW already configured (%d) - re-configuring\n",
+ fwrt->dump.conf);
+
+ /* Send all HCMDs for configuring the FW debug */
+diff -Naur linux-5.9/drivers/net/wireless/intel/iwlwifi/pcie/trans.c linux-5.9-p/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
+--- linux-5.9/drivers/net/wireless/intel/iwlwifi/pcie/trans.c 2020-10-11 23:15:50.000000000 +0200
++++ linux-5.9-p/drivers/net/wireless/intel/iwlwifi/pcie/trans.c 2020-10-12 00:57:02.204539087 +0200
+@@ -929,7 +929,7 @@
+ return;
+ }
+
+- IWL_INFO(trans, "Applying debug destination %s\n",
++ IWL_DEBUG_INFO(trans, "Applying debug destination %s\n",
+ get_fw_dbg_mode_string(dest->monitor_mode));
+
+ if (dest->monitor_mode == EXTERNAL_MODE)