rtw88: adjust the log level for failure of tx report
authorChin-Yen Lee <timlee@realtek.com>
Tue, 13 Jul 2021 10:45:22 +0000 (18:45 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 21 Aug 2021 19:18:06 +0000 (22:18 +0300)
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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210713104524.47101-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/tx.c

index 0193708..3a101aa 100644 (file)
@@ -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);