r8152: use eth_hw_addr_random
authorhayeswang <hayeswang@realtek.com>
Thu, 4 Sep 2014 08:15:42 +0000 (16:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Sep 2014 19:17:00 +0000 (12:17 -0700)
commit179bb6d7f0387102317005e131d3676e239878f5
tree625c7d6383e506cd423b00a38366f5d4779371b3
parent8ba789ab13157c82dbdbd4215eac42660a384646
r8152: use eth_hw_addr_random

If the hw doesn't have a valid MAC address, give a random one and
set it to the hw.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c