From: Oleksij Rempel Date: Sat, 11 May 2013 14:31:30 +0000 (+0200) Subject: remove ar5416SetMulticastFilterInde X-Git-Tag: 1.4.0~12^2^2~25 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=05b3613229f90562cbd4ad5aaffd2713c90414aa;p=open-ath9k-htc-firmware.git remove ar5416SetMulticastFilterInde Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/ar5416_hw.c b/target_firmware/wlan/ar5416_hw.c index b52c39d..6cccf57 100644 --- a/target_firmware/wlan/ar5416_hw.c +++ b/target_firmware/wlan/ar5416_hw.c @@ -302,22 +302,6 @@ HAL_BOOL ar5416StopDmaReceive(struct ath_hal *ah) } } -HAL_BOOL ar5416SetMulticastFilterIndex(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<