mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-06 05:27:28 +03:00
brcm47xx: fix typo in patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26828 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
348cbe4bd3
commit
6a2f5043e3
@ -46,7 +46,7 @@
|
|||||||
READ_FROM_NVRAM(revision, "sromrev", buf);
|
READ_FROM_NVRAM(revision, "sromrev", buf);
|
||||||
- if (nvram_getprefix(prefix, "il0macaddr", buf, sizeof(buf)) >= 0)
|
- if (nvram_getprefix(prefix, "il0macaddr", buf, sizeof(buf)) >= 0)
|
||||||
+ 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);
|
nvram_parse_macaddr(buf, sprom->il0mac);
|
||||||
if (nvram_getprefix(prefix, "et0macaddr", buf, sizeof(buf)) >= 0)
|
if (nvram_getprefix(prefix, "et0macaddr", buf, sizeof(buf)) >= 0)
|
||||||
nvram_parse_macaddr(buf, sprom->et0mac);
|
nvram_parse_macaddr(buf, sprom->et0mac);
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
READ_FROM_NVRAM(revision, "sromrev", buf);
|
READ_FROM_NVRAM(revision, "sromrev", buf);
|
||||||
- if (nvram_getprefix(prefix, "il0macaddr", buf, sizeof(buf)) >= 0)
|
- if (nvram_getprefix(prefix, "il0macaddr", buf, sizeof(buf)) >= 0)
|
||||||
+ 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);
|
nvram_parse_macaddr(buf, sprom->il0mac);
|
||||||
if (nvram_getprefix(prefix, "et0macaddr", buf, sizeof(buf)) >= 0)
|
if (nvram_getprefix(prefix, "et0macaddr", buf, sizeof(buf)) >= 0)
|
||||||
nvram_parse_macaddr(buf, sprom->et0mac);
|
nvram_parse_macaddr(buf, sprom->et0mac);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user