]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9ed2b992ef787ea0826bd1b187dcc044cab8e297
tree625c7d6383e506cd423b00a38366f5d4779371b3
parent63b2f40a554573dce7792db807340c46aba4016e
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