diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-01-01 03:30:19 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-03 22:37:36 -0800 |
commit | 04e406dcc54cfd84d333ea673fa986fb5a1840e7 (patch) | |
tree | 07a98d71770a7c61369df1600ec0977dffc8bc6c /net | |
parent | 646cbcdae50e9ef40d7b77673a1f1b7eb7c18be5 (diff) |
ll_temac: fix mac address setting
Previously, when invalid address was passed to ndo_set_mac_address,
random mac was generated and set. Fix this by returning -EADDRNOTAVAIL
in this situation.
Also polish the code around a bit.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions