git.openpandora.org
/
pandora-u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Correct call to eth_write_hwaddr()
[pandora-u-boot.git]
/
net
/
eth.c
diff --git
a/net/eth.c
b/net/eth.c
index
c9b7e85
..
dbd1e2d
100644
(file)
--- a/
net/eth.c
+++ b/
net/eth.c
@@
-304,7
+304,7
@@
int eth_initialize(bd_t *bis)
if (strchr(dev->name, ' '))
puts("\nWarning: eth device name has a space!\n");
- if (eth_write_hwaddr(dev,
NULL
, eth_number))
+ if (eth_write_hwaddr(dev,
"eth"
, eth_number))
puts("Warning: failed to set MAC address\n");
eth_number++;