diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2011-05-05 13:18:35 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2011-05-05 13:18:35 +0000 |
commit | 54fb8868fa5283966eb58036807b069681a0dec9 (patch) | |
tree | d106684121e36fc43d50eb3293be07f2ebe0a54f /target/linux | |
parent | 7fb06ce6cd6cf47c94da173e31d26d56d397e5cd (diff) | |
download | mtk-20170518-54fb8868fa5283966eb58036807b069681a0dec9.zip mtk-20170518-54fb8868fa5283966eb58036807b069681a0dec9.tar.gz mtk-20170518-54fb8868fa5283966eb58036807b069681a0dec9.tar.bz2 |
brcm47xx: fix typo in patch
SVN-Revision: 26828
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/brcm47xx/patches-2.6.37/034-bcm47xx-extend-and-fix-fill-sprom.patch | 2 | ||||
-rw-r--r-- | target/linux/brcm47xx/patches-2.6.38/034-bcm47xx-extend-and-fix-fill-sprom.patch | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.37/034-bcm47xx-extend-and-fix-fill-sprom.patch b/target/linux/brcm47xx/patches-2.6.37/034-bcm47xx-extend-and-fix-fill-sprom.patch index 490ca67..2352639 100644 --- a/target/linux/brcm47xx/patches-2.6.37/034-bcm47xx-extend-and-fix-fill-sprom.patch +++ b/target/linux/brcm47xx/patches-2.6.37/034-bcm47xx-extend-and-fix-fill-sprom.patch @@ -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); diff --git a/target/linux/brcm47xx/patches-2.6.38/034-bcm47xx-extend-and-fix-fill-sprom.patch b/target/linux/brcm47xx/patches-2.6.38/034-bcm47xx-extend-and-fix-fill-sprom.patch index 490ca67..2352639 100644 --- a/target/linux/brcm47xx/patches-2.6.38/034-bcm47xx-extend-and-fix-fill-sprom.patch +++ b/target/linux/brcm47xx/patches-2.6.38/034-bcm47xx-extend-and-fix-fill-sprom.patch @@ -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); |