From: Oleksij Rempel Date: Sat, 11 May 2013 14:23:29 +0000 (+0200) Subject: remove ar5416ClrMulticastFilterIndex X-Git-Tag: 1.4.0~12^2^2~27 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=6d46e6f26898e6f2b6b250082a18fdb803c1d513;p=open-ath9k-htc-firmware.git remove ar5416ClrMulticastFilterIndex Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/ar5416_hw.c b/target_firmware/wlan/ar5416_hw.c index 78882ff..0f1cdda 100644 --- a/target_firmware/wlan/ar5416_hw.c +++ b/target_firmware/wlan/ar5416_hw.c @@ -298,22 +298,6 @@ void ar5416SetMulticastFilter(struct ath_hal *ah, a_uint32_t filter0, a_uint32_t OS_REG_WRITE(ah, AR_MCAST_FIL1, filter1); } -HAL_BOOL ar5416ClrMulticastFilterIndex(struct ath_hal *ah, a_uint32_t ix) -{ - a_uint32_t val; - - if (ix >= 64) - return AH_FALSE; - if (ix >= 32) { - val = OS_REG_READ(ah, AR_MCAST_FIL1); - OS_REG_WRITE(ah, AR_MCAST_FIL1, (val &~ (1<<(ix-32)))); - } else { - val = OS_REG_READ(ah, AR_MCAST_FIL0); - OS_REG_WRITE(ah, AR_MCAST_FIL0, (val &~ (1<