mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
mac80211: brcmsmac: do a read after write when writing objmem to device.
SVN-Revision: 34570
This commit is contained in:
parent
16d0957a4e
commit
3365e2caf0
@ -1,14 +1,6 @@
|
|||||||
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
||||||
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
||||||
@@ -4135,6 +4135,7 @@ void brcms_c_wme_setparams(struct brcms_
|
@@ -4537,7 +4537,8 @@ static int brcms_b_attach(struct brcms_c
|
||||||
M_EDCF_QINFO +
|
|
||||||
wme_ac2fifo[aci] * M_EDCF_QLEN + i,
|
|
||||||
*shm_entry++);
|
|
||||||
+ printk("dummy\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (suspend) {
|
|
||||||
@@ -4537,7 +4538,8 @@ static int brcms_b_attach(struct brcms_c
|
|
||||||
|
|
||||||
/* check device id(srom, nvram etc.) to set bands */
|
/* check device id(srom, nvram etc.) to set bands */
|
||||||
if (wlc_hw->deviceid == BCM43224_D11N_ID ||
|
if (wlc_hw->deviceid == BCM43224_D11N_ID ||
|
||||||
@ -18,7 +10,7 @@
|
|||||||
/* Dualband boards */
|
/* Dualband boards */
|
||||||
wlc_hw->_nbands = 2;
|
wlc_hw->_nbands = 2;
|
||||||
else
|
else
|
||||||
@@ -5797,7 +5799,7 @@ static bool brcms_c_chipmatch_pci(struct
|
@@ -5797,7 +5798,7 @@ static bool brcms_c_chipmatch_pci(struct
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
11
package/mac80211/patches/860-brcmsmac-wflush-objmem.patch
Normal file
11
package/mac80211/patches/860-brcmsmac-wflush-objmem.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
||||||
|
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
||||||
|
@@ -2923,7 +2923,7 @@ brcms_b_write_objmem(struct brcms_hardwa
|
||||||
|
if (offset & 2)
|
||||||
|
objoff += 2;
|
||||||
|
|
||||||
|
- bcma_write16(core, objoff, v);
|
||||||
|
+ bcma_wflush16(core, objoff, v);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
Loading…
Reference in New Issue
Block a user