diff options
-rw-r--r-- | net/dsa/slave.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c index 6ebd8fbd9285..29d684ebca6a 100644 --- a/net/dsa/slave.c +++ b/net/dsa/slave.c | |||
@@ -347,7 +347,7 @@ dsa_slave_create(struct dsa_switch *ds, struct device *parent, | |||
347 | 347 | ||
348 | slave_dev->features = master->vlan_features; | 348 | slave_dev->features = master->vlan_features; |
349 | SET_ETHTOOL_OPS(slave_dev, &dsa_slave_ethtool_ops); | 349 | SET_ETHTOOL_OPS(slave_dev, &dsa_slave_ethtool_ops); |
350 | memcpy(slave_dev->dev_addr, master->dev_addr, ETH_ALEN); | 350 | eth_hw_addr_inherit(slave_dev, master); |
351 | slave_dev->tx_queue_len = 0; | 351 | slave_dev->tx_queue_len = 0; |
352 | 352 | ||
353 | switch (ds->dst->tag_protocol) { | 353 | switch (ds->dst->tag_protocol) { |