From: YOSHIFUJI Hideaki / 吉藤英明 Date: Tue, 17 Jul 2007 04:45:43 +0000 (+0900) Subject: ARM/ETHER3: Handle multicast frames. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dbf812d6ae6da1bfd01ea6abc5af60b358e4f9ba;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ARM/ETHER3: Handle multicast frames. Signed-off-by: YOSHIFUJI Hideaki -- Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/arm/ether3.c b/drivers/net/arm/ether3.c index da713500654d..a7cac695a9bd 100644 --- a/drivers/net/arm/ether3.c +++ b/drivers/net/arm/ether3.c @@ -464,7 +464,7 @@ static void ether3_setmulticastlist(struct net_device *dev) if (dev->flags & IFF_PROMISC) { /* promiscuous mode */ priv(dev)->regs.config1 |= CFG1_RECVPROMISC; - } else if (dev->flags & IFF_ALLMULTI) { + } else if (dev->flags & IFF_ALLMULTI || dev->mc_count) { priv(dev)->regs.config1 |= CFG1_RECVSPECBRMULTI; } else priv(dev)->regs.config1 |= CFG1_RECVSPECBROAD;