net: usbnet: update addr_assign_type if appropriate
authorBjørn Mork <bjorn@mork.no>
Wed, 4 Sep 2013 07:42:32 +0000 (09:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2013 16:43:38 +0000 (12:43 -0400)
commiteef23b53985f8e08256f24d76e576d69fb0d44d3
tree9a42ed9bd914aa187b4c35d333faa83c7ebff996
parentc3de991feb5f785175ca3fc1ea30e21c1086a109
net: usbnet: update addr_assign_type if appropriate

This module generates a common default address on init,
using eth_random_addr. Set addr_assign_type to let
userspace know the address is random unless it was
overridden by the minidriver.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Acked-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/usbnet.c