ath9k: Add a debugfs file to show interrupt statistics
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / ath9k / main.c
index ade92d518d5259817bf441bef4894d9b535db2ec..272f806f70cbd1c3053f9d648398c2ed705e4983 100644 (file)
@@ -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));