From: Oleksij Rempel Date: Sat, 11 May 2013 07:54:37 +0000 (+0200) Subject: use ah_updateTxTrigLevel directly X-Git-Tag: 1.4.0~12^2^2~66 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=facb4cd0538a5c8de03389895c8226c11d5282ef;p=open-ath9k-htc-firmware.git use ah_updateTxTrigLevel directly Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_ath.c b/target_firmware/wlan/if_ath.c index 4cfc8c8..91376c5 100755 --- a/target_firmware/wlan/if_ath.c +++ b/target_firmware/wlan/if_ath.c @@ -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); diff --git a/target_firmware/wlan/if_athvar.h b/target_firmware/wlan/if_athvar.h index 90150a2..d91d2ae 100755 --- a/target_firmware/wlan/if_athvar.h +++ b/target_firmware/wlan/if_athvar.h @@ -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) \