diff mbox series

[1/3] rtw88: adjust the log level for failure of tx report

Message ID 20210713104524.47101-1-pkshih@realtek.com
State New
Headers show
Series [1/3] rtw88: adjust the log level for failure of tx report | expand

Commit Message

Ping-Ke Shih July 13, 2021, 10:45 a.m. UTC
From: Chin-Yen Lee <timlee@realtek.com>

We find that some disconnect events are related to failure of
tx report, so increase log level to improve debuggability.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
---
 drivers/net/wireless/realtek/rtw88/tx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo Aug. 21, 2021, 7:18 p.m. UTC | #1
Ping-Ke Shih <pkshih@realtek.com> wrote:

> From: Chin-Yen Lee <timlee@realtek.com>

> 

> We find that some disconnect events are related to failure of

> tx report, so increase log level to improve debuggability.

> 

> Signed-off-by: Chin-Yen Lee <timlee@realtek.com>

> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>


3 patches applied to wireless-drivers-next.git, thanks.

584dce175f04 rtw88: adjust the log level for failure of tx report
81a68a1424ba rtw88: 8822c: add tx stbc support under HT mode
0c283b47539a rtw88: change beacon filter default mode

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20210713104524.47101-1-pkshih@realtek.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
diff mbox series

Patch

diff --git a/drivers/net/wireless/realtek/rtw88/tx.c b/drivers/net/wireless/realtek/rtw88/tx.c
index 0193708fc013..3a101aa139ed 100644
--- a/drivers/net/wireless/realtek/rtw88/tx.c
+++ b/drivers/net/wireless/realtek/rtw88/tx.c
@@ -162,7 +162,7 @@  void rtw_tx_report_purge_timer(struct timer_list *t)
 	if (skb_queue_len(&tx_report->queue) == 0)
 		return;
 
-	rtw_dbg(rtwdev, RTW_DBG_TX, "purge skb(s) not reported by firmware\n");
+	rtw_warn(rtwdev, "failed to get tx report from firmware\n");
 
 	spin_lock_irqsave(&tx_report->q_lock, flags);
 	skb_queue_purge(&tx_report->queue);