use ah_isInterruptPending directly
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 09:04:24 +0000 (11:04 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 14:10:07 +0000 (16:10 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/if_ath.c
target_firmware/wlan/if_athvar.h

index b44d299cb263f82c9b8e3ff579c6f3e47cf90d1c..c61832e7d170c2c85ecda090b8382ff42270ecf1 100755 (executable)
@@ -1021,7 +1021,7 @@ 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);
index 4a014ccc059844cea07a6335ff0f11ceb8755cc4..dbb69cd73fc072395e39f01805f9d5243c8b23f6 100755 (executable)
@@ -491,8 +491,6 @@ a_uint8_t ath_get_minrateidx(struct ath_softc_tgt *sc, struct ath_vap_target *av
 
 #define ath_hal_intrset(_ah, _mask) \
     ((*(_ah)->ah_setInterrupts)((_ah), (_mask)))
-#define ath_hal_intrpend(_ah) \
-    ((*(_ah)->ah_isInterruptPending)((_ah)))
 #define ath_hal_getisr(_ah, _pmask) \
     ((*(_ah)->ah_getPendingInterrupts)((_ah), (_pmask)))
 #define ath_hal_setuprxdesc(_ah, _ds, _size, _intreq) \