use ah_numTxPending directly
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 08:05:06 +0000 (10:05 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 14:10:04 +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 95ee8696fd6792d514b9f9b842e8626bb2aff424..af6684ae918c25d347cdf803119fa0d6198be337 100755 (executable)
@@ -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,
index 04f1070727f8fd6a99515562cbcca7eced190bf5..945a9558c8f40b269e8d50bcd694621bf0cdfe56 100755 (executable)
@@ -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 */