brcm47xx: fix typo in patch
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 5 May 2011 13:18:35 +0000 (13:18 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 5 May 2011 13:18:35 +0000 (13:18 +0000)
SVN-Revision: 26828

target/linux/brcm47xx/patches-2.6.37/034-bcm47xx-extend-and-fix-fill-sprom.patch
target/linux/brcm47xx/patches-2.6.38/034-bcm47xx-extend-and-fix-fill-sprom.patch

index 490ca67bdb482e3a410320ff7c964e8b87621849..2352639686c8b50e001ba290af6d534d8319c03e 100644 (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);
index 490ca67bdb482e3a410320ff7c964e8b87621849..2352639686c8b50e001ba290af6d534d8319c03e 100644 (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);