summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-image-redcore-lts-legacy/files/5.10-iwlwifi-use-debug-for-debug-infos.patch
blob: 5ec56c69375c1a9563317300375d236134aa6d1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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)