use ah_setRxFilter directly
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 08:44:39 +0000 (10:44 +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 bdadbf00de0e64c94b9b2a66aeb9fa17b5185bd5..f228a1440f33540153f4ef5a691b32057dd4fc15 100755 (executable)
@@ -1618,7 +1618,7 @@ static void ath_stoprecv_tgt(void *Context, A_UINT16 Command,
        struct ath_hal *ah = sc->sc_ah;
 
        ath_hal_stoppcurecv(ah);
-       ath_hal_setrxfilter(ah, 0);
+       ah->ah_setRxFilter(ah, 0);
        ath_hal_stopdmarecv(ah);
 
        sc->sc_rxlink = NULL;
index 9a94cfdd8b8f90ab1cb832a5df1d294988ef27e7..6a505de17ca7d7141968dd721a4c16b456196902 100755 (executable)
@@ -539,8 +539,6 @@ a_uint8_t ath_get_minrateidx(struct ath_softc_tgt *sc, struct ath_vap_target *av
     (ath_hal_getcapability(_ah, HAL_CAP_HT, 0, NULL) == HAL_OK)
 #define ath_hal_getrtsaggrlimit(_ah, _pv) \
     (ath_hal_getcapability(_ah, HAL_CAP_RTS_AGGR_LIMIT, 0, _pv) == HAL_OK)
-#define ath_hal_setrxfilter(_ah, _filter) \
-    ((*(_ah)->ah_setRxFilter)((_ah), (_filter)))
 #define ath_hal_intrset(_ah, _mask) \
     ((*(_ah)->ah_setInterrupts)((_ah), (_mask)))
 #define ath_hal_set11n_aggr_first(_ah, _ds, _aggrlen, _numdelims) \