diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2012-08-10 07:56:21 (GMT) |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-09-27 17:21:36 (GMT) |
commit | 460f949f897a401b40327be7a1a9cccd22762c77 (patch) | |
tree | c08998decc34ad49a816da45458afc4be237b120 /board/pcs440ep/pcs440ep.c | |
parent | 185f7d9afc9b5c77bbedc386a43019e07e5d0c04 (diff) | |
download | u-boot-460f949f897a401b40327be7a1a9cccd22762c77.tar.xz |
net: eth_write_hwaddr: Return error for invalid MACs
If dev->enetaddr was supposed to be set with dev->write_hwaddr() but the MAC
address was not valid, return an error.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/pcs440ep/pcs440ep.c')
0 files changed, 0 insertions, 0 deletions