use ah_getPendingInterrupts directly
[open-ath9k-htc-firmware.git] / target_firmware / wlan / if_ath.c
index b44d299cb263f82c9b8e3ff579c6f3e47cf90d1c..3907262818fb15ec9aadcd2dda59838ef848d57f 100755 (executable)
@@ -1021,10 +1021,10 @@ adf_os_irq_resp_t ath_intr(adf_drv_handle_t hdl)
        if (sc->sc_invalid)
                return ADF_OS_IRQ_NONE;
 
-       if (!ath_hal_intrpend(ah))
+       if (!ah->ah_isInterruptPending(ah))
                return ADF_OS_IRQ_NONE;
 
-       ath_hal_getisr(ah, &status);
+       ah->ah_getPendingInterrupts(ah, &status);
 
        status &= sc->sc_imask;