net: ethoc: Use eth_hw_addr_random()
authorTobias Klauser <tklauser@distanz.ch>
Thu, 16 Feb 2017 12:54:32 +0000 (13:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Feb 2017 17:42:24 +0000 (12:42 -0500)
commit6d6a505a1e4c40cc37f83076c8779881dd60e144
tree6c7171aa2f2cf7b94ce05bece52bd5856de5c7bf
parente1c151a47942da66cd208dea2330547b34684fae
net: ethoc: Use eth_hw_addr_random()

Use eth_hw_addr_random() to set a random dev_addr and update
addr_assign_type instead of open-coding it.

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