From: Oleksij Rempel Date: Sat, 11 May 2013 08:05:06 +0000 (+0200) Subject: use ah_numTxPending directly X-Git-Tag: 1.4.0~12^2^2~63 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=d9c8efbdfb3e47436720dd31bf0a9d9d9c972e4b;p=open-ath9k-htc-firmware.git use ah_numTxPending directly Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_ath.c b/target_firmware/wlan/if_ath.c index 95ee869..af6684a 100755 --- a/target_firmware/wlan/if_ath.c +++ b/target_firmware/wlan/if_ath.c @@ -1036,7 +1036,7 @@ adf_os_irq_resp_t ath_intr(adf_drv_handle_t hdl) struct ath_txq *txq = ATH_TXQ(sc, 8); swbaEvt.tsf = ath_hal_gettsf64(ah); - swbaEvt.beaconPendingCount = ath_hal_numtxpending(ah, sc->sc_bhalq); + swbaEvt.beaconPendingCount = ah->ah_numTxPending(ah, sc->sc_bhalq); sc->sc_swba_tsf = ath_hal_gettsf64(ah); wmi_event(sc->tgt_wmi_handle, diff --git a/target_firmware/wlan/if_athvar.h b/target_firmware/wlan/if_athvar.h index 04f1070..945a955 100755 --- a/target_firmware/wlan/if_athvar.h +++ b/target_firmware/wlan/if_athvar.h @@ -557,7 +557,5 @@ a_uint8_t ath_get_minrateidx(struct ath_softc_tgt *sc, struct ath_vap_target *av ((*(_ah)->ah_set11nAggrMiddle)(_ah, _ds, _numdelims)) #define ath_hal_set11n_aggr_last(_ah, _ds) \ ((*(_ah)->ah_set11nAggrLast)(_ah, _ds)) -#define ath_hal_numtxpending(_ah, _q) \ - ((*(_ah)->ah_numTxPending)((_ah), (_q))) #endif /* _DEV_ATH_ATHVAR_H */