commit | 504f9b5a6bb5336ad434438d0cdd61a16db80129 | [log] [tgz] |
---|---|---|
author | Danny Kukawka <danny.kukawka@bisect.de> | Tue Feb 21 02:07:49 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 23 17:03:20 2012 -0500 |
tree | 307356c1d47a8300fd4973159edaad130c5cda9f | |
parent | 32d219ed61a97f6591a941e23673b2c1dd8628e7 [diff] |
ethernet: unify return value of .ndo_set_mac_address if address is invalid Unify return value of .ndo_set_mac_address if the given address isn't valid. Return -EADDRNOTAVAIL as eth_mac_addr() already does if is_valid_ether_addr() fails. Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de> Signed-off-by: David S. Miller <davem@davemloft.net>