From d9c8efbdfb3e47436720dd31bf0a9d9d9c972e4b Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Sat, 11 May 2013 10:05:06 +0200 Subject: [PATCH] use ah_numTxPending directly Signed-off-by: Oleksij Rempel --- target_firmware/wlan/if_ath.c | 2 +- target_firmware/wlan/if_athvar.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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 */ -- 2.25.1