net: phy: at803x: Change error to EINVAL for invalid MAC
authorDan Murphy <dmurphy@ti.com>
Tue, 10 Oct 2017 17:42:56 +0000 (12:42 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Oct 2017 21:14:32 +0000 (14:14 -0700)
commitfc7556877d1748ac00958822a0a3bba1d4bd9e0d
treebc194482dc33766822f49233fb11abfbc2fd9db7
parent87461f7a58ab694e638ac52afa543b427751a9d0
net: phy: at803x: Change error to EINVAL for invalid MAC

Change the return error code to EINVAL if the MAC
address is not valid in the set_wol function.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c