From: YOSHIFUJI Hideaki / 吉藤英明 Date: Tue, 17 Jul 2007 04:45:54 +0000 (+0900) Subject: NS83820: Handle multicast frames. X-Git-Tag: v2.6.23-rc1~477^2~7 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e78af36623b8eeead1c8590b43616eab159526fa;p=linux-2.6-omap-h63xx.git NS83820: Handle multicast frames. Signed-off-by: YOSHIFUJI Hideaki -- Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/ns83820.c b/drivers/net/ns83820.c index 104aab3c957..ea80e6cb3de 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;