From 05b3613229f90562cbd4ad5aaffd2713c90414aa Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Sat, 11 May 2013 16:31:30 +0200 Subject: [PATCH] remove ar5416SetMulticastFilterInde Signed-off-by: Oleksij Rempel --- target_firmware/wlan/ar5416_hw.c | 16 ---------------- target_firmware/wlan/ar5416desc.h | 1 - 2 files changed, 17 deletions(-) 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<