Commit 2b70bad2 authored by Stefan Wahren's avatar Stefan Wahren Committed by David S. Miller

net: qca_spi: Don't clear IFF_BROADCAST

Currently qcaspi_netdev_setup accidentally clears IFF_BROADCAST.
So fix this by keeping the flags from ether_setup.
Reported-by: default avatarMichael Heimpold <michael.heimpold@i2se.com>
Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Fixes: 291ab06e (net: qualcomm: new Ethernet over SPI driver for QCA7000)
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 65c38aa6
...@@ -811,7 +811,6 @@ qcaspi_netdev_setup(struct net_device *dev) ...@@ -811,7 +811,6 @@ qcaspi_netdev_setup(struct net_device *dev)
dev->netdev_ops = &qcaspi_netdev_ops; dev->netdev_ops = &qcaspi_netdev_ops;
qcaspi_set_ethtool_ops(dev); qcaspi_set_ethtool_ops(dev);
dev->watchdog_timeo = QCASPI_TX_TIMEOUT; dev->watchdog_timeo = QCASPI_TX_TIMEOUT;
dev->flags = IFF_MULTICAST;
dev->tx_queue_len = 100; dev->tx_queue_len = 100;
qca = netdev_priv(dev); qca = netdev_priv(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment