staging: mt7621-eth: Use eth_hw_addr_random()
authorKamal Heib <kamalheib1@gmail.com>
Wed, 20 Jun 2018 10:47:11 +0000 (13:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 12:50:16 +0000 (21:50 +0900)
commit144e2643e2f57d29804cacb5403708cd22984b73
treeb36761b799548c3f1ce72ba9a891ed2fbbe6eceb
parent85e1d42663a0c163002961d2685be952067b0dc2
staging: mt7621-eth: Use eth_hw_addr_random()

Use eth_hw_addr_random() to set a random dev_addr and update
addr_assign_type.

Fixes: e3cbf478f846 ('staging: mt7621-eth: add the drivers core files')
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-eth/mtk_eth_soc.c