diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-07 16:46:04 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-07 16:46:04 +0000 |
commit | b35c47cc3abb33663258cf7a416f18e303f7379b (patch) | |
tree | e53928d7ac5004a755b1a8455945a93fa17386dc /package/mac80211/patches/851-brcmsmac-add-support-for-BCM43224.patch | |
parent | fed667a077461429ea807f048cd43004c36388cb (diff) |
mac80211: update to wireless-testing 2012-12-06
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34571 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/851-brcmsmac-add-support-for-BCM43224.patch')
-rw-r--r-- | package/mac80211/patches/851-brcmsmac-add-support-for-BCM43224.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/mac80211/patches/851-brcmsmac-add-support-for-BCM43224.patch b/package/mac80211/patches/851-brcmsmac-add-support-for-BCM43224.patch new file mode 100644 index 0000000000..b375313f49 --- /dev/null +++ b/package/mac80211/patches/851-brcmsmac-add-support-for-BCM43224.patch @@ -0,0 +1,21 @@ +--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c ++++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c +@@ -4537,7 +4537,8 @@ static int brcms_b_attach(struct brcms_c + + /* check device id(srom, nvram etc.) to set bands */ + if (wlc_hw->deviceid == BCM43224_D11N_ID || +- wlc_hw->deviceid == BCM43224_D11N_ID_VEN1) ++ wlc_hw->deviceid == BCM43224_D11N_ID_VEN1 || ++ wlc_hw->deviceid == BCM43224_CHIP_ID) + /* Dualband boards */ + wlc_hw->_nbands = 2; + else +@@ -5797,7 +5798,7 @@ static bool brcms_c_chipmatch_pci(struct + return false; + } + +- if (device == BCM43224_D11N_ID_VEN1) ++ if (device == BCM43224_D11N_ID_VEN1 || device == BCM43224_CHIP_ID) + return true; + if ((device == BCM43224_D11N_ID) || (device == BCM43225_D11N2G_ID)) + return true; |