use ah_stopPcuReceive directly
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 09:01:43 +0000 (11:01 +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 5c2cff8604d9fdd20f9d00b39a90ecbfe3af1746..b44d299cb263f82c9b8e3ff579c6f3e47cf90d1c 100755 (executable)
@@ -1617,7 +1617,7 @@ static void ath_stoprecv_tgt(void *Context, A_UINT16 Command,
        struct ath_softc_tgt *sc = (struct ath_softc_tgt *)Context;
        struct ath_hal *ah = sc->sc_ah;
 
-       ath_hal_stoppcurecv(ah);
+       ah->ah_stopPcuReceive(ah);
        ah->ah_setRxFilter(ah, 0);
        ah->ah_stopDmaReceive(ah);
 
index 1609318f26540d547b01acb8221d1581f1c062c3..4a014ccc059844cea07a6335ff0f11ceb8755cc4 100755 (executable)
@@ -527,8 +527,6 @@ a_uint8_t ath_get_minrateidx(struct ath_softc_tgt *sc, struct ath_vap_target *av
     ((*(_ah)->ah_fillTxDesc)((_ah), (_ds), (_l), (_first), (_last), (_ds0)))
 #define ath_hal_txprocdesc(_ah, _ds) \
     ((*(_ah)->ah_procTxDesc)((_ah), (_ds)))
-#define ath_hal_stoppcurecv(_ah) \
-    ((*(_ah)->ah_stopPcuReceive)((_ah)))
 #define ath_hal_htsupported(_ah) \
     (ath_hal_getcapability(_ah, HAL_CAP_HT, 0, NULL) == HAL_OK)
 #define ath_hal_getrtsaggrlimit(_ah, _pv) \