diff options
author | YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org> | 2007-07-17 06:45:54 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-19 00:29:37 +0200 |
commit | e78af36623b8eeead1c8590b43616eab159526fa (patch) | |
tree | eb51f7a1f14d77948f3672fdc83f1862a4dcd96e /drivers/net/ns83820.c | |
parent | Fix RGMII-ID handling in gianfar (diff) | |
download | linux-e78af36623b8eeead1c8590b43616eab159526fa.tar.xz linux-e78af36623b8eeead1c8590b43616eab159526fa.zip |
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/ns83820.c')
-rw-r--r-- | drivers/net/ns83820.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ns83820.c b/drivers/net/ns83820.c index 104aab3c957f..ea80e6cb3dec 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; |