diff options
author | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-01-03 01:53:30 +0000 |
---|---|---|
committer | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-01-03 01:53:30 +0000 |
commit | e2a6028da3eccac80337a17129174ae2d7716b66 (patch) | |
tree | 80c467f23a4f364b9be69716075cd3b186161e62 /target/linux/brcm47xx/patches-3.6/210-b44_phy_fix.patch | |
parent | ae4d4c4a99d64d402a985e12510a5e05598c6200 (diff) |
brcm47xx: add a new version of the nvram rewrite patch
This is the version like it was send for mainline inclusion.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34988 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 a7929bb42..4fb93195a 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) |