mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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:
parent
7132ab7f6e
commit
e78af36623
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue