ARM/ETHER3: Handle multicast frames.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> -- Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
82a0244df8
commit
dbf812d6ae
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue