summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/realtek/rtlwifi/base.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2023-05-24 12:39:34 +0200
committerKalle Valo <kvalo@kernel.org>2023-05-27 11:31:18 +0300
commit1f1784a59caf3eefd127908a1a3cf224017ff9c7 (patch)
tree19a793839b41dfaecb58ad19bf9802d62eb0a47d /drivers/net/wireless/realtek/rtlwifi/base.c
parent072210c725c4938682e58236eeeb19a2ddd0b817 (diff)
wifi: rtw88: usb: silence log flooding error message
When receiving more rx packets than the kernel can handle the driver drops the packets and issues an error message. This is bad for two reasons. The logs are flooded with myriads of messages, but then time consumed for printing messages in that critical code path brings down the device. After some time of excessive rx load the driver responds with: rtw_8822cu 1-1:1.2: failed to get tx report from firmware rtw_8822cu 1-1:1.2: firmware failed to report density after scan rtw_8822cu 1-1:1.2: firmware failed to report density after scan The device stops working until being replugged. Fix this by lowering the priority to debug level and also by ratelimiting it. Fixes: a82dfd33d1237 ("wifi: rtw88: Add common USB chip support") Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230524103934.1019096-1-s.hauer@pengutronix.de
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/base.c')
0 files changed, 0 insertions, 0 deletions