use ah_stopDmaReceive directly
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 08:52:30 +0000 (10:52 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 14:10:07 +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 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);
index 3a1402fd04900e5433db2dff2802e3235fa0e78b..2f9d0c9c71def2dedc6c7dd51eafbabce438f1cf 100755 (executable)
@@ -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) \