net: qca_spi: Don't clear IFF_BROADCAST
authorStefan Wahren <stefan.wahren@i2se.com>
Tue, 23 Feb 2016 19:23:23 +0000 (19:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Feb 2016 21:12:15 +0000 (16:12 -0500)
Currently qcaspi_netdev_setup accidentally clears IFF_BROADCAST.
So fix this by keeping the flags from ether_setup.

Reported-by: Michael Heimpold <michael.heimpold@i2se.com>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Fixes: 291ab06ecf67 (net: qualcomm: new Ethernet over SPI driver for QCA7000)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/qca_spi.c

index 689a4a5c8dcfc30fba2675e17293e98691648dd2..f2ee3e5fb167abddf95cc5d4a20d7ad340a5eba7 100644 (file)
@@ -811,7 +811,6 @@ qcaspi_netdev_setup(struct net_device *dev)
        dev->netdev_ops = &qcaspi_netdev_ops;
        qcaspi_set_ethtool_ops(dev);
        dev->watchdog_timeo = QCASPI_TX_TIMEOUT;
-       dev->flags = IFF_MULTICAST;
        dev->tx_queue_len = 100;
 
        qca = netdev_priv(dev);