aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>2007-07-17 13:45:54 +0900
committerJeff Garzik <jeff@garzik.org>2007-07-18 18:29:37 -0400
commite78af36623b8eeead1c8590b43616eab159526fa (patch)
treeeb51f7a1f14d77948f3672fdc83f1862a4dcd96e /drivers/net
parent7132ab7f6e0309bb8e0424e395ba149aee0c750e (diff)
downloadkernel_samsung_tuna-e78af36623b8eeead1c8590b43616eab159526fa.zip
kernel_samsung_tuna-e78af36623b8eeead1c8590b43616eab159526fa.tar.gz
kernel_samsung_tuna-e78af36623b8eeead1c8590b43616eab159526fa.tar.bz2
NS83820: Handle multicast frames.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> -- Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ns83820.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ns83820.c b/drivers/net/ns83820.c
index 104aab3..ea80e6c 100644
--- a/drivers/net/ns83820.c
+++ b/drivers/net/ns83820.c
@@ -1582,7 +1582,7 @@ static void ns83820_set_multicast(struct net_device *ndev)
else
and_mask &= ~(RFCR_AAU | RFCR_AAM);
- if (ndev->flags & IFF_ALLMULTI)
+ if (ndev->flags & IFF_ALLMULTI || ndev->mc_count)
or_mask |= RFCR_AAM;
else
and_mask &= ~RFCR_AAM;