1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-12 00:20:14 +02: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:
hauke 2011-05-05 13:18:35 +00:00
parent 348cbe4bd3
commit 6a2f5043e3
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);