Commit affad456 authored by Felix Fietkau's avatar Felix Fietkau Committed by John W. Linville

ath9k: make some hardware reset log messages debug-only

On some chips, baseband watchdog hangs are more common than others, and
the driver has support for handling them.
Interrupts even after a watchdog hang are also quite common, so there's
not much point in spamming the user's logfiles.
Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent cd6cfd73
...@@ -451,7 +451,7 @@ void ath9k_tasklet(unsigned long data) ...@@ -451,7 +451,7 @@ void ath9k_tasklet(unsigned long data)
* interrupts are enabled in the reset routine. * interrupts are enabled in the reset routine.
*/ */
atomic_inc(&ah->intr_ref_cnt); atomic_inc(&ah->intr_ref_cnt);
ath_dbg(common, ANY, "FATAL: Skipping interrupts\n"); ath_dbg(common, RESET, "FATAL: Skipping interrupts\n");
goto out; goto out;
} }
...@@ -471,7 +471,7 @@ void ath9k_tasklet(unsigned long data) ...@@ -471,7 +471,7 @@ void ath9k_tasklet(unsigned long data)
* interrupts are enabled in the reset routine. * interrupts are enabled in the reset routine.
*/ */
atomic_inc(&ah->intr_ref_cnt); atomic_inc(&ah->intr_ref_cnt);
ath_dbg(common, ANY, ath_dbg(common, RESET,
"BB_WATCHDOG: Skipping interrupts\n"); "BB_WATCHDOG: Skipping interrupts\n");
goto out; goto out;
} }
...@@ -484,7 +484,7 @@ void ath9k_tasklet(unsigned long data) ...@@ -484,7 +484,7 @@ void ath9k_tasklet(unsigned long data)
type = RESET_TYPE_TX_GTT; type = RESET_TYPE_TX_GTT;
ath9k_queue_reset(sc, type); ath9k_queue_reset(sc, type);
atomic_inc(&ah->intr_ref_cnt); atomic_inc(&ah->intr_ref_cnt);
ath_dbg(common, ANY, ath_dbg(common, RESET,
"GTT: Skipping interrupts\n"); "GTT: Skipping interrupts\n");
goto out; goto out;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment