use ah_abortTxDma directly
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 08:29:57 +0000 (10:29 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 14:10:05 +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 f526e4623f4238d9d693e65d1052c9ed64814442..46fde9026bd0d7df55af97c6870193ac3fde0751 100755 (executable)
@@ -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);
 }
 
index 04e4e3703d69a7a778774a9150290804fcb1985e..a04f1daaaa82b0833f25b0a6c9a9441976dc3d4d 100755 (executable)
@@ -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,\