Skip to content

Commit

Permalink
NS83820: Handle multicast frames.
Browse files Browse the repository at this point in the history
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>

--
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
YOSHIFUJI Hideaki / 吉藤英明 authored and Jeff Garzik committed Jul 18, 2007
1 parent 7132ab7 commit e78af36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ns83820.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e78af36

Please sign in to comment.