use ah_stopDmaReceive directly
[open-ath9k-htc-firmware.git] / target_firmware / wlan / if_ath.c
index ce29af409fec4ae747a9337a0128013c50084e64..a024574d957f44faaf6014cd98582f7481e4cc65 100755 (executable)
@@ -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);