From: Peter Korsgaard Date: Mon, 30 Sep 2013 21:28:20 +0000 (+0200) Subject: dm9601: fix IFF_ALLMULTI handling X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bf0ea6380724beb64f27a722dfc4b0edabff816e;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: Peter Korsgaard Signed-off-by: David S. Miller --- 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;