net: smc1111: fix ethernet mac setting
Even if the setting of the MAC address does work correctly, the function
return an error.

In the former barebox version, this didn't seem to be a problem. In
v2015.11.0 version, the "ifup eth0" command fails because of this, and
as a consequence the network interface doesn't work.

The fix is straightforward.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c85ef6a commit aa62e926f5590927197c3dd6cd9f69699f56ba5c
@Robert Jarzmik Robert Jarzmik authored on 5 Dec 2015
Sascha Hauer committed on 7 Dec 2015
Showing 1 changed file
View
drivers/net/smc91111.c