From: Oleksij Rempel Date: Sat, 11 May 2013 09:04:24 +0000 (+0200) Subject: use ah_isInterruptPending directly X-Git-Tag: 1.4.0~12^2^2~48 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=93131ef1d4fe1f2f8ae72196ccf9ae7b5a0342ce;p=open-ath9k-htc-firmware.git use ah_isInterruptPending directly Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_ath.c b/target_firmware/wlan/if_ath.c index b44d299..c61832e 100755 --- a/target_firmware/wlan/if_ath.c +++ b/target_firmware/wlan/if_ath.c @@ -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); diff --git a/target_firmware/wlan/if_athvar.h b/target_firmware/wlan/if_athvar.h index 4a014cc..dbb69cd 100755 --- a/target_firmware/wlan/if_athvar.h +++ b/target_firmware/wlan/if_athvar.h @@ -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) \