net: arc_emac: annonce IFF_MULTICAST support
authorAlexander Kochetkov <al.kochet@gmail.com>
Mon, 14 Nov 2016 13:32:52 +0000 (16:32 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 00:58:13 +0000 (19:58 -0500)
Multicast support was implemented by commit 775dd682e2b0ec7
('arc_emac: implement promiscuous mode and multicast filtering').

It can be enabled explicity using 'ifconfig eth0 multicast'.
The patch is needed in order to remove explicit configuration
as most devices has multicast mode enabled by default.

Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/arc/emac_main.c

index b0da9693f28a130a65e59a007548c773fa422e7f..2e4ee86a7e514407c152ec9b2e6871765aab6be1 100644 (file)
@@ -764,8 +764,6 @@ int arc_emac_probe(struct net_device *ndev, int interface)
        ndev->netdev_ops = &arc_emac_netdev_ops;
        ndev->ethtool_ops = &arc_emac_ethtool_ops;
        ndev->watchdog_timeo = TX_TIMEOUT;
-       /* FIXME :: no multicast support yet */
-       ndev->flags &= ~IFF_MULTICAST;
 
        priv = netdev_priv(ndev);
        priv->dev = dev;