From: Oleksij Rempel Date: Sat, 11 May 2013 08:29:57 +0000 (+0200) Subject: use ah_abortTxDma directly X-Git-Tag: 1.4.0~12^2^2~59 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=a2d6199554c18f3466ec9cf589369ccf8e647deb;p=open-ath9k-htc-firmware.git use ah_abortTxDma directly Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_ath.c b/target_firmware/wlan/if_ath.c index f526e46..46fde90 100755 --- a/target_firmware/wlan/if_ath.c +++ b/target_firmware/wlan/if_ath.c @@ -1564,8 +1564,9 @@ static void ath_aborttx_dma_tgt(void *Context, A_UINT16 Command, A_UINT16 SeqNo, A_UINT8 *data, a_int32_t datalen) { struct ath_softc_tgt *sc = (struct ath_softc_tgt *)Context; + struct ath_hal *ah = sc->sc_ah; - ath_hal_aborttxdma(sc->sc_ah); + ah->ah_abortTxDma(sc->sc_ah); wmi_cmd_rsp(sc->tgt_wmi_handle, Command, SeqNo, NULL, 0); } diff --git a/target_firmware/wlan/if_athvar.h b/target_firmware/wlan/if_athvar.h index 04e4e37..a04f1da 100755 --- a/target_firmware/wlan/if_athvar.h +++ b/target_firmware/wlan/if_athvar.h @@ -499,8 +499,6 @@ a_uint8_t ath_get_minrateidx(struct ath_softc_tgt *sc, struct ath_vap_target *av ((*(_ah)->ah_setupRxDesc)((_ah), (_ds), (_size), (_intreq))) #define ath_hal_rxprocdescfast(_ah, _ds, _dspa, _dsnext, _rx_stats) \ ((*(_ah)->ah_procRxDescFast)((_ah), (_ds), (_dspa), (_dsnext), (_rx_stats))) -#define ath_hal_aborttxdma(_ah) \ - ((*(_ah)->ah_abortTxDma)(_ah)) #define ath_hal_set11n_txdesc(_ah, _ds, _pktlen, _type, _txpower,\ _keyix, _keytype, _flags) \ ((*(_ah)->ah_set11nTxDesc)(_ah, _ds, _pktlen, _type, _txpower, _keyix,\