aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/371-brcmfmac-include-linux-atomic.h.patch
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-01-10 00:19:16 +0000
committerRafał Miłecki <zajec5@gmail.com>2016-01-10 00:19:16 +0000
commitacad802bceb2d41e003c07a0f17d800151ba7975 (patch)
tree8abbb86e4c12bf345dcebe199ca195f45557925b /package/kernel/mac80211/patches/371-brcmfmac-include-linux-atomic.h.patch
parent615ff23d4f635cfefaf2960cd9233e540b1eaab5 (diff)
downloadupstream-acad802bceb2d41e003c07a0f17d800151ba7975.tar.gz
upstream-acad802bceb2d41e003c07a0f17d800151ba7975.tar.bz2
upstream-acad802bceb2d41e003c07a0f17d800151ba7975.zip
mac80211: brcmfmac: support dumping stations
It allows user-space fetch associated STAs and e.g. iwinfo/luci display them. git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48167 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/371-brcmfmac-include-linux-atomic.h.patch')
-rw-r--r--package/kernel/mac80211/patches/371-brcmfmac-include-linux-atomic.h.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/371-brcmfmac-include-linux-atomic.h.patch b/package/kernel/mac80211/patches/371-brcmfmac-include-linux-atomic.h.patch
new file mode 100644
index 0000000000..9311a9dbe4
--- /dev/null
+++ b/package/kernel/mac80211/patches/371-brcmfmac-include-linux-atomic.h.patch
@@ -0,0 +1,23 @@
+From: Hauke Mehrtens <hauke@hauke-m.de>
+Date: Sat, 19 Sep 2015 12:47:20 +0200
+Subject: [PATCH] brcmfmac: include linux/atomic.h
+
+brcmfmac uses atomic_or() and other atomic_* functions, but does not
+include linux/atomic.h. This file gets included by some other header
+file so this normally does not cause problems.
+
+Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
+Acked-by: Arend van Spriel <arend@broadcom.com>
+Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
+---
+
+--- a/drivers/net/wireless/brcm80211/brcmfmac/sdio.c
++++ b/drivers/net/wireless/brcm80211/brcmfmac/sdio.c
+@@ -15,6 +15,7 @@
+ */
+
+ #include <linux/types.h>
++#include <linux/atomic.h>
+ #include <linux/kernel.h>
+ #include <linux/kthread.h>
+ #include <linux/printk.h>