summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/ar9002_mac.c
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2012-04-12 17:04:00 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2012-04-16 18:16:58 (GMT)
commit462e58f2b6f2f3ca113b44794f2c35ee8e792b93 (patch)
treef4c4bfb31bb82ff192caeb870b46ff10e8decc11 /drivers/net/wireless/ath/ath9k/ar9002_mac.c
parent24a0731e70fb007c989ae81dd72bc4fe99e27818 (diff)
downloadlinux-fsl-qoriq-462e58f2b6f2f3ca113b44794f2c35ee8e792b93.tar.xz
ath9k: Gather and report IRQ sync_cause errors.
Report all defined sync_cause errors in debugfs to aid with debugging. Use a macro to print out the interrupts file contents to decrease code duplication. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9002_mac.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9002_mac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9002_mac.c b/drivers/net/wireless/ath/ath9k/ar9002_mac.c
index aa2abaf..8d78253 100644
--- a/drivers/net/wireless/ath/ath9k/ar9002_mac.c
+++ b/drivers/net/wireless/ath/ath9k/ar9002_mac.c
@@ -136,6 +136,7 @@ static bool ar9002_hw_get_isr(struct ath_hw *ah, enum ath9k_int *masked)
}
if (sync_cause) {
+ ath9k_debug_sync_cause(common, sync_cause);
fatal_int =
(sync_cause &
(AR_INTR_SYNC_HOST1_FATAL | AR_INTR_SYNC_HOST1_PERR))