diff --git a/net/hsr/hsr_device.c b/net/hsr/hsr_device.c index fc65b145f6e71b87115aeb14dee408cef876d10b..c73160fb11e7c666f8ac8ed4103b7312ff769a58 100644 --- a/net/hsr/hsr_device.c +++ b/net/hsr/hsr_device.c @@ -395,7 +395,7 @@ static struct device_type hsr_type = { void hsr_dev_setup(struct net_device *dev) { - random_ether_addr(dev->dev_addr); + eth_hw_addr_random(dev); ether_setup(dev); dev->min_mtu = 0;