NS83820: 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:
YOSHIFUJI Hideaki / 吉藤英明 2007-07-17 13:45:54 +09:00 committed by Jeff Garzik
parent 7132ab7f6e
commit e78af36623
1 changed files with 1 additions and 1 deletions

View File

@ -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;