]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ath9k_htc: Silence undersized packet warnings
authorMasashi Honma <masashi.honma@gmail.com>
Mon, 4 May 2020 21:44:43 +0000 (06:44 +0900)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 6 May 2020 06:22:18 +0000 (09:22 +0300)
commit450edd2805982d14ed79733a82927d2857b27cac
tree1be3838dc5c809bd4be062478a206734e89b86f8
parentee4dd7061891d7295328302104037520d831ce43
ath9k_htc: Silence undersized packet warnings

Some devices like TP-Link TL-WN722N produces this kind of messages
frequently.

kernel: ath: phy0: Short RX data len, dropping (dlen: 4)

This warning is useful for developers to recognize that the device
(Wi-Fi dongle or USB hub etc) is noisy but not for general users. So
this patch make this warning to debug message.

Reported-By: Denis <pro.denis@protonmail.com>
Ref: https://bugzilla.kernel.org/show_bug.cgi?id=207539
Fixes: cd486e627e67 ("ath9k_htc: Discard undersized packets")
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200504214443.4485-1-masashi.honma@gmail.com
drivers/net/wireless/ath/ath9k/htc_drv_txrx.c