diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2013-09-30 23:28:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-30 19:48:59 -0400 |
commit | bf0ea6380724beb64f27a722dfc4b0edabff816e (patch) | |
tree | 088a9f9d742b5b42f4ed662f5492f6a9ada7bfeb | |
parent | 8d34ce10c59b40e0ce2685341c4e93416f505e45 (diff) | |
download | linux-stable-bf0ea6380724beb64f27a722dfc4b0edabff816e.tar.gz linux-stable-bf0ea6380724beb64f27a722dfc4b0edabff816e.tar.bz2 linux-stable-bf0ea6380724beb64f27a722dfc4b0edabff816e.zip |
dm9601: fix IFF_ALLMULTI handling
Pass-all-multicast is controlled by bit 3 in RX control, not bit 2
(pass undersized frames).
Reported-by: Joseph Chang <joseph_chang@davicom.com.tw>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/usb/dm9601.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/dm9601.c b/drivers/net/usb/dm9601.c index 2dbb9460349d..c6867f926cff 100644 --- a/drivers/net/usb/dm9601.c +++ b/drivers/net/usb/dm9601.c @@ -303,7 +303,7 @@ static void dm9601_set_multicast(struct net_device *net) rx_ctl |= 0x02; } else if (net->flags & IFF_ALLMULTI || netdev_mc_count(net) > DM_MAX_MCAST) { - rx_ctl |= 0x04; + rx_ctl |= 0x08; } else if (!netdev_mc_empty(net)) { struct netdev_hw_addr *ha; |