summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.6/210-b44_phy_fix.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-01-03 01:53:30 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-01-03 01:53:30 +0000
commit25afeba608b9db64cc0cab1f7be790f64193f590 (patch)
treef293f93d06a2a30ce21d64d2a64763ba7bbd4e6c /target/linux/brcm47xx/patches-3.6/210-b44_phy_fix.patch
parentedc7ab525ff7cc45ea478b8b936e596789eb851a (diff)
downloadmaster-31e0f0ae-25afeba608b9db64cc0cab1f7be790f64193f590.tar.gz
master-31e0f0ae-25afeba608b9db64cc0cab1f7be790f64193f590.tar.bz2
master-31e0f0ae-25afeba608b9db64cc0cab1f7be790f64193f590.zip
brcm47xx: add a new version of the nvram rewrite patch
This is the version like it was send for mainline inclusion. SVN-Revision: 34988
Diffstat (limited to 'target/linux/brcm47xx/patches-3.6/210-b44_phy_fix.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.6/210-b44_phy_fix.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-3.6/210-b44_phy_fix.patch b/target/linux/brcm47xx/patches-3.6/210-b44_phy_fix.patch
index a7929bb420..4fb93195ae 100644
--- a/target/linux/brcm47xx/patches-3.6/210-b44_phy_fix.patch
+++ b/target/linux/brcm47xx/patches-3.6/210-b44_phy_fix.patch
@@ -15,7 +15,7 @@
+ bp->phy_addr = B44_PHY_ADDR_NO_PHY;
+ } else {
+ /* WL-HDD */
-+ if (nvram_getenv("hardware_version", buf, sizeof(buf)) >= 0 &&
++ if (bcm47xx_nvram_getenv("hardware_version", buf, sizeof(buf)) >= 0 &&
+ !strncmp(buf, "WL300-", strlen("WL300-"))) {
+ if (sdev->bus->sprom.et0phyaddr == 0 &&
+ sdev->bus->sprom.et1phyaddr == 1)