wifi: ath11k: dp: cleanup debug message
authorKalle Valo <quic_kvalo@quicinc.com>
Fri, 9 Jun 2023 14:24:35 +0000 (17:24 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Tue, 13 Jun 2023 09:10:45 +0000 (12:10 +0300)
Merge the two debug messages into and fix them to follow the preferred style.

Also change the log level to ATH11K_DBG_DP_TX to match the filename.

Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230609142440.24643-11-kvalo@kernel.org
drivers/net/wireless/ath/ath11k/dp_tx.c

index 08a28464eb7a949637bd9a65f79b5c612ebd1b89..a34833de7c6763e6606e4f4fb8d4ac486bc2c01f 100644 (file)
@@ -964,14 +964,10 @@ int ath11k_dp_tx_htt_srng_setup(struct ath11k_base *ab, u32 ring_id,
                                params.low_threshold);
        }
 
-       ath11k_dbg(ab, ATH11k_DBG_HAL,
-                  "%s msi_addr_lo:0x%x, msi_addr_hi:0x%x, msi_data:0x%x\n",
-                  __func__, cmd->ring_msi_addr_lo, cmd->ring_msi_addr_hi,
-                  cmd->msi_data);
-
-       ath11k_dbg(ab, ATH11k_DBG_HAL,
-                  "ring_id:%d, ring_type:%d, intr_info:0x%x, flags:0x%x\n",
-                  ring_id, ring_type, cmd->intr_info, cmd->info2);
+       ath11k_dbg(ab, ATH11K_DBG_DP_TX,
+                  "htt srng setup msi_addr_lo 0x%x msi_addr_hi 0x%x msi_data 0x%x ring_id %d ring_type %d intr_info 0x%x flags 0x%x\n",
+                  cmd->ring_msi_addr_lo, cmd->ring_msi_addr_hi,
+                  cmd->msi_data, ring_id, ring_type, cmd->intr_info, cmd->info2);
 
        ret = ath11k_htc_send(&ab->htc, ab->dp.eid, skb);
        if (ret)