[PATCH net-next v3 0/2] r8152: random MAC address

From: Hayes Wang
Date: Thu Sep 04 2014 - 05:08:33 EST


If the interface has invalid MAC address, it couldn't
be used. In order to let it work normally, give a
random one.

v3:
Remove
ether_addr_copy(dev->perm_addr, dev->dev_addr);

v2:
Use "%pM" format specifier for printing a MAC address.

Hayes Wang (2):
r8152: change the location of rtl8152_set_mac_address
r8152: use eth_hw_addr_random

drivers/net/usb/r8152.c | 65 ++++++++++++++++++++++++++++---------------------
1 file changed, 37 insertions(+), 28 deletions(-)

--
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/