net/hsr: use eth_hw_addr_random()
authorTobias Klauser <tklauser@distanz.ch>
Tue, 21 Feb 2017 13:04:59 +0000 (14:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Feb 2017 18:25:22 +0000 (13:25 -0500)
commitd4af4c0ad0a4d070ef756010a2a10d96ff53d73d
tree4f9797e096a042bd9c65b22b5a6bbbcdf26c7d19
parent32cc1bb3cdac937d8199013512c79ead259e4b63
net/hsr: use eth_hw_addr_random()

Use eth_hw_addr_random() to set a random MAC address in order to make sure
dev->addr_assign_type will be properly set to NET_ADDR_RANDOM.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/hsr/hsr_device.c