diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2008-12-07 21:42:44 +0530 |
---|---|---|
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) | |
download | lwn-817e11de2d3392041a70c80a6d5b353ad210f276.tar.gz lwn-817e11de2d3392041a70c80a6d5b353ad210f276.zip |
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) } } while (0); + ath_debug_stat_interrupt(sc, status); + if (sched) { /* turn off every interrupt except SWBA */ ath9k_hw_set_interrupts(ah, (sc->sc_imask & ATH9K_INT_SWBA)); |