mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-22 07:35:51 +03:00
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34591 3c298f89-4303-0410-b956-a3cf2f4a3e73
22 lines
768 B
Diff
22 lines
768 B
Diff
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
|
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
|
@@ -4502,7 +4502,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
|
|
@@ -5655,7 +5656,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;
|