From: Oleksij Rempel Date: Sat, 11 May 2013 08:44:39 +0000 (+0200) Subject: use ah_setRxFilter directly X-Git-Tag: 1.4.0~12^2^2~55 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=88d60789f7ebdd592d626a9cee963851f9c46321;p=open-ath9k-htc-firmware.git use ah_setRxFilter directly Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_ath.c b/target_firmware/wlan/if_ath.c index bdadbf0..f228a14 100755 --- a/target_firmware/wlan/if_ath.c +++ b/target_firmware/wlan/if_ath.c @@ -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; diff --git a/target_firmware/wlan/if_athvar.h b/target_firmware/wlan/if_athvar.h index 9a94cfd..6a505de 100755 --- a/target_firmware/wlan/if_athvar.h +++ b/target_firmware/wlan/if_athvar.h @@ -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) \