From: Oleksij Rempel Date: Sat, 11 May 2013 08:52:30 +0000 (+0200) Subject: use ah_stopDmaReceive directly X-Git-Tag: 1.4.0~12^2^2~52 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=43b337a87061e666ce8ec54dfa8c5a8b9bbe4872;p=open-ath9k-htc-firmware.git use ah_stopDmaReceive directly Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_ath.c b/target_firmware/wlan/if_ath.c index ce29af4..a024574 100755 --- a/target_firmware/wlan/if_ath.c +++ b/target_firmware/wlan/if_ath.c @@ -1619,7 +1619,7 @@ static void ath_stoprecv_tgt(void *Context, A_UINT16 Command, ath_hal_stoppcurecv(ah); ah->ah_setRxFilter(ah, 0); - ath_hal_stopdmarecv(ah); + ah->ah_stopDmaReceive(ah); sc->sc_rxlink = NULL; 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 3a1402f..2f9d0c9 100755 --- a/target_firmware/wlan/if_athvar.h +++ b/target_firmware/wlan/if_athvar.h @@ -529,8 +529,6 @@ a_uint8_t ath_get_minrateidx(struct ath_softc_tgt *sc, struct ath_vap_target *av ((*(_ah)->ah_procTxDesc)((_ah), (_ds))) #define ath_hal_rxena(_ah) \ ((*(_ah)->ah_enableReceive)((_ah))) -#define ath_hal_stopdmarecv(_ah) \ - ((*(_ah)->ah_stopDmaReceive)((_ah))) #define ath_hal_stoppcurecv(_ah) \ ((*(_ah)->ah_stopPcuReceive)((_ah))) #define ath_hal_htsupported(_ah) \