summaryrefslogtreecommitdiffstats
path: root/net/hsr
diff options
context:
space:
mode:
Diffstat (limited to 'net/hsr')
-rw-r--r--net/hsr/hsr_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/hsr/hsr_device.c b/net/hsr/hsr_device.c
index fc65b145f6e7..c73160fb11e7 100644
--- a/net/hsr/hsr_device.c
+++ b/net/hsr/hsr_device.c
@@ -395,7 +395,7 @@ static struct device_type hsr_type = {
395 395
396void hsr_dev_setup(struct net_device *dev) 396void hsr_dev_setup(struct net_device *dev)
397{ 397{
398 random_ether_addr(dev->dev_addr); 398 eth_hw_addr_random(dev);
399 399
400 ether_setup(dev); 400 ether_setup(dev);
401 dev->min_mtu = 0; 401 dev->min_mtu = 0;