Correct call to eth_write_hwaddr()
authorSimon Glass <sjg@chromium.org>
Tue, 30 Aug 2011 05:51:00 +0000 (05:51 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 5 Sep 2011 14:06:06 +0000 (16:06 +0200)
commit019fd6d45b611193610e3366392c53a817c3cee2
tree0031438c87550562680ad1bf6b0295369eb4c249
parentad8e3bd65766f670007bc5ae7c19b64e69e3dceb
Correct call to eth_write_hwaddr()

This fixes "Warning: failed to set MAC address" on platforms which rely on
an 'ethaddr' environment variable to set the MAC address.

This bug was introduced by this commit:

7616e785 Add Ethernet hardware MAC address framework to usbnet

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Kumar Gala <galak@kernel.crashing.org>
Tested-by: Michal Simek <monstr@monstr.eu>
Tested-by: Heiko Schocher <hs@denx.de>
net/eth.c