use ah_getPendingInterrupts directly
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 09:05:53 +0000 (11:05 +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 c61832e7d170c2c85ecda090b8382ff42270ecf1..3907262818fb15ec9aadcd2dda59838ef848d57f 100755 (executable)
@@ -1024,7 +1024,7 @@ adf_os_irq_resp_t ath_intr(adf_drv_handle_t hdl)
        if (!ah->ah_isInterruptPending(ah))
                return ADF_OS_IRQ_NONE;
 
-       ath_hal_getisr(ah, &status);
+       ah->ah_getPendingInterrupts(ah, &status);
 
        status &= sc->sc_imask;
 
index dbb69cd73fc072395e39f01805f9d5243c8b23f6..a519513e1b010d99b1df7e1ec003aded8152fbb3 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_getisr(_ah, _pmask) \
-    ((*(_ah)->ah_getPendingInterrupts)((_ah), (_pmask)))
 #define ath_hal_setuprxdesc(_ah, _ds, _size, _intreq) \
     ((*(_ah)->ah_setupRxDesc)((_ah), (_ds), (_size), (_intreq)))
 #define ath_hal_rxprocdescfast(_ah, _ds, _dspa, _dsnext, _rx_stats) \