summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-image-redcore/files/5.11-iwlwifi-use-debug-for-debug-infos.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/linux-image-redcore/files/5.11-iwlwifi-use-debug-for-debug-infos.patch')
-rw-r--r--sys-kernel/linux-image-redcore/files/5.11-iwlwifi-use-debug-for-debug-infos.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-kernel/linux-image-redcore/files/5.11-iwlwifi-use-debug-for-debug-infos.patch b/sys-kernel/linux-image-redcore/files/5.11-iwlwifi-use-debug-for-debug-infos.patch
new file mode 100644
index 00000000..5ec56c69
--- /dev/null
+++ b/sys-kernel/linux-image-redcore/files/5.11-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)