ath9k: make DMA stop related messages debug-only
authorFelix Fietkau <nbd@openwrt.org>
Thu, 2 Jul 2015 11:40:29 +0000 (13:40 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 21 Jul 2015 13:56:41 +0000 (16:56 +0300)
commite60ac9c7a4c8776b2503892dfd01f1b4d651245d
tree1b75912e67ee2e06f706005ed0a818bebb3ac6f4
parentcf7d5a80201066daac467d57a47b0826c2e88354
ath9k: make DMA stop related messages debug-only

A long time ago, ath9k had issues during reset where the DMA engine
would stay active and could potentially corrupt memory.
To debug those issues, the driver would print warnings whenever they
occur.

Nowadays, these issues are gone and the primary cause of these messages
is if the MAC is stuck during reset or busy processing a long
transmission. This is fairly harmless, yet these messages continue to
worry users.

To reduce the number of bogus bug reports, turn these messages into
debug messages and count their occurence in the "reset" debugfs file.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/debug.c
drivers/net/wireless/ath/ath9k/debug.h
drivers/net/wireless/ath/ath9k/recv.c
drivers/net/wireless/ath/ath9k/xmit.c