]> git.baikalelectronics.ru Git - kernel.git/commit
lantiq_etop: set addr_assign_type if random_ether_addr() used
authorDanny Kukawka <danny.kukawka@bisect.de>
Fri, 17 Feb 2012 05:43:23 +0000 (05:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Feb 2012 20:52:31 +0000 (15:52 -0500)
commitad464cd88a8725e596b5063f7edc2a86e20b2270
tree2d565ef7fa923318e9ecad5656d80b8411e0e0e1
parent6b7ae397547d61eac64f59f370295746890d81cd
lantiq_etop: set addr_assign_type if random_ether_addr() used

Set addr_assign_type correctly to NET_ADDR_RANDOM in case
a random MAC address was generated and assigned to the netdevice.

v2: added comment, renamed bool variable to random_mac

Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/lantiq_etop.c