net: axienet: use eth_hw_addr_random()
authorTobias Klauser <tklauser@distanz.ch>
Tue, 28 Feb 2017 11:21:12 +0000 (12:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Mar 2017 01:15:41 +0000 (17:15 -0800)
commit452349c3235252aaccaf30cc75402827d43b72d4
tree44283b401f30acf0ff6b96d13c87c0d24c28228f
parent81fa846a75f5a5ffe684c41dd29b193bb6527a08
net: axienet: use eth_hw_addr_random()

Use eth_hw_addr_random() to set a random MAC address in order to make
sure ndev->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>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c