use ah_updateTxTrigLevel directly
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 07:54:37 +0000 (09:54 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 14:10:03 +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 4cfc8c85858ea3437feb78621c2d127175016d88..91376c5848689939fe59f2fb51580b25e2b5910c 100755 (executable)
@@ -1067,7 +1067,7 @@ adf_os_irq_resp_t ath_intr(adf_drv_handle_t hdl)
 
                if (status & HAL_INT_TXURN) {
                        sc->sc_int_stats.ast_txurn++;
-                       ath_hal_updatetxtriglevel(ah, AH_TRUE);
+                       ah->ah_updateTxTrigLevel(ah, AH_TRUE);
                }
 
                ATH_SCHEDULE_TQUEUE(sc->sc_dev, &sc->sc_txtq);
index 90150a28bb5c9b3b014095f701e28ccfac750c68..d91d2aef91f12bc66aebc14e2edfdfdb391e5659 100755 (executable)
@@ -495,8 +495,6 @@ a_uint8_t ath_get_minrateidx(struct ath_softc_tgt *sc, struct ath_vap_target *av
     ((*(_ah)->ah_isInterruptPending)((_ah)))
 #define ath_hal_getisr(_ah, _pmask) \
     ((*(_ah)->ah_getPendingInterrupts)((_ah), (_pmask)))
-#define ath_hal_updatetxtriglevel(_ah, _inc) \
-    ((*(_ah)->ah_updateTxTrigLevel)((_ah), (_inc)))
 #define ath_hal_setuprxdesc(_ah, _ds, _size, _intreq) \
     ((*(_ah)->ah_setupRxDesc)((_ah), (_ds), (_size), (_intreq)))
 #define ath_hal_rxprocdescfast(_ah, _ds, _dspa, _dsnext, _rx_stats) \