brcm47xx: fix typo in patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26828 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
24dc829d59
commit
cf2a2e3ae2
|
@ -46,7 +46,7 @@
|
|||
READ_FROM_NVRAM(revision, "sromrev", buf);
|
||||
- if (nvram_getprefix(prefix, "il0macaddr", buf, sizeof(buf)) >= 0)
|
||||
+ if (nvram_getprefix(prefix, "il0macaddr", buf, sizeof(buf)) >= 0 ||
|
||||
++ nvram_getprefix(prefix, "macaddr", buf, sizeof(buf)) >= 0)
|
||||
+ nvram_getprefix(prefix, "macaddr", buf, sizeof(buf)) >= 0)
|
||||
nvram_parse_macaddr(buf, sprom->il0mac);
|
||||
if (nvram_getprefix(prefix, "et0macaddr", buf, sizeof(buf)) >= 0)
|
||||
nvram_parse_macaddr(buf, sprom->et0mac);
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
READ_FROM_NVRAM(revision, "sromrev", buf);
|
||||
- if (nvram_getprefix(prefix, "il0macaddr", buf, sizeof(buf)) >= 0)
|
||||
+ if (nvram_getprefix(prefix, "il0macaddr", buf, sizeof(buf)) >= 0 ||
|
||||
++ nvram_getprefix(prefix, "macaddr", buf, sizeof(buf)) >= 0)
|
||||
+ nvram_getprefix(prefix, "macaddr", buf, sizeof(buf)) >= 0)
|
||||
nvram_parse_macaddr(buf, sprom->il0mac);
|
||||
if (nvram_getprefix(prefix, "et0macaddr", buf, sizeof(buf)) >= 0)
|
||||
nvram_parse_macaddr(buf, sprom->et0mac);
|
||||
|
|
Loading…
Reference in New Issue