summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/850-brcmsmac-add-support-for-BCM43224.patch
blob: 161da8c6c596da4e8d03d0b85249553817ebe86c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
@@ -4153,6 +4153,7 @@ void brcms_c_wme_setparams(struct brcms_
 					  M_EDCF_QINFO +
 					  wme_ac2fifo[aci] * M_EDCF_QLEN + i,
 					  *shm_entry++);
+		printk("dummy\n");
 	}
 
 	if (suspend) {
@@ -4557,7 +4558,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
@@ -5816,7 +5818,7 @@ bool brcms_c_chipmatch(u16 vendor, u16 d
 		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;