diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2008-12-07 11:12:44 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-12 13:48:24 -0500 |
commit | 817e11de2d3392041a70c80a6d5b353ad210f276 (patch) | |
tree | 7e5d98d03cd40236bb87fe82f486d3a0fa7d4d08 /drivers/net/wireless/ath9k/main.c | |
parent | 3706de6f58962ba74c18eb4cb1ebe034ff723037 (diff) |
ath9k: Add a debugfs file to show interrupt statistics
Location: ath9k/<phy>/interrupt
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath9k/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c index ade92d518d52..272f806f70cb 100644 --- a/drivers/net/wireless/ath9k/main.c +++ b/drivers/net/wireless/ath9k/main.c | |||
@@ -598,6 +598,8 @@ static irqreturn_t ath_isr(int irq, void *dev) | |||
598 | } | 598 | } |
599 | } while (0); | 599 | } while (0); |
600 | 600 | ||
601 | ath_debug_stat_interrupt(sc, status); | ||
602 | |||
601 | if (sched) { | 603 | if (sched) { |
602 | /* turn off every interrupt except SWBA */ | 604 | /* turn off every interrupt except SWBA */ |
603 | ath9k_hw_set_interrupts(ah, (sc->sc_imask & ATH9K_INT_SWBA)); | 605 | ath9k_hw_set_interrupts(ah, (sc->sc_imask & ATH9K_INT_SWBA)); |