Danny Kukawka 7ce5d22219 net: use eth_hw_addr_random() and reset addr_assign_type
Use eth_hw_addr_random() instead of calling random_ether_addr()
to set addr_assign_type correctly to NET_ADDR_RANDOM.

Reset the state to NET_ADDR_PERM as soon as the MAC get
changed via .ndo_set_mac_address.

v2: adapt to renamed eth_hw_addr_random()

Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-15 15:34:17 -05:00
..
2012-02-01 14:46:25 -05:00
2012-01-26 18:36:48 +00:00
2012-02-02 14:00:43 +05:30
2012-01-20 08:24:22 -08:00
2012-01-14 15:07:24 -08:00
2012-02-13 00:47:41 -05:00
2012-02-08 19:06:30 -08:00
2012-02-09 13:51:13 -08:00
2012-01-23 08:44:53 -08:00
2012-02-08 18:50:20 -05:00
2012-01-13 10:12:23 -08:00
2012-02-07 15:54:02 -08:00
2012-01-02 13:04:55 +01:00
2012-01-11 23:58:47 -05:00