Staging: et131x: unify return value of .ndo_set_mac_address if address is invalid
authorDanny Kukawka <danny.kukawka@bisect.de>
Thu, 23 Feb 2012 22:11:39 +0000 (17:11 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Feb 2012 22:11:39 +0000 (17:11 -0500)
commit8abe6fb51ebd1d16c93d4435a808e056113f3510
treecdfbd79b0e455844bcb42299b4db3e4f99075f7f
parent7ca1e11ab7d83ec76f3a8ef8704adca8c7518f41
Staging: et131x: 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>
drivers/staging/et131x/et131x.c