diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-01-03 01:53:30 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-01-03 01:53:30 +0000 |
commit | 25afeba608b9db64cc0cab1f7be790f64193f590 (patch) | |
tree | f293f93d06a2a30ce21d64d2a64763ba7bbd4e6c /target/linux/brcm47xx/patches-3.6/210-b44_phy_fix.patch | |
parent | edc7ab525ff7cc45ea478b8b936e596789eb851a (diff) | |
download | master-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.patch | 2 |
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) |