]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c9a52f78c0057630ee867f39a8a9977b449ee58
tree6c7171aa2f2cf7b94ce05bece52bd5856de5c7bf
parentd739489b21e0112274e09cfbe69597815612c726
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