aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/860-brcmsmac-wflush-objmem.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-12-07 16:24:35 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2012-12-07 16:24:35 +0000
commit3365e2caf014e24ff8ea091a3d93cb89f330b70b (patch)
tree23feb56e8c9164b5ac5f9b24a7bfa3d90b43236a /package/mac80211/patches/860-brcmsmac-wflush-objmem.patch
parent16d0957a4e477ab6efb189bb26e84482e3273c37 (diff)
downloadupstream-3365e2caf014e24ff8ea091a3d93cb89f330b70b.tar.gz
upstream-3365e2caf014e24ff8ea091a3d93cb89f330b70b.tar.bz2
upstream-3365e2caf014e24ff8ea091a3d93cb89f330b70b.zip
mac80211: brcmsmac: do a read after write when writing objmem to device.
SVN-Revision: 34570
Diffstat (limited to 'package/mac80211/patches/860-brcmsmac-wflush-objmem.patch')
-rw-r--r--package/mac80211/patches/860-brcmsmac-wflush-objmem.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/860-brcmsmac-wflush-objmem.patch b/package/mac80211/patches/860-brcmsmac-wflush-objmem.patch
new file mode 100644
index 0000000000..d702c4d154
--- /dev/null
+++ b/package/mac80211/patches/860-brcmsmac-wflush-objmem.patch
@@ -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);
+ }
+
+ /*