rtw88: adjust the log level for failure of tx report
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
This commit is contained in:
parent
95a581ab35
commit
584dce175f
|
@ -162,7 +162,7 @@ void rtw_tx_report_purge_timer(struct timer_list *t)
|
||||||
if (skb_queue_len(&tx_report->queue) == 0)
|
if (skb_queue_len(&tx_report->queue) == 0)
|
||||||
return;
|
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);
|
spin_lock_irqsave(&tx_report->q_lock, flags);
|
||||||
skb_queue_purge(&tx_report->queue);
|
skb_queue_purge(&tx_report->queue);
|
||||||
|
|
Loading…
Reference in New Issue