use ah_numTxPending directly
[open-ath9k-htc-firmware.git] / target_firmware / wlan / if_ath.c
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,