summaryrefslogtreecommitdiff
path: root/package/acx-mac80211/patches/004-ratelimit_compile_fix.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-06-15 21:18:21 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-06-15 21:18:21 +0000
commitaaffd9709f6d001dae9ba9dbbe88ceb6cfd961de (patch)
treeadcf45fb8746755c3514fa4b5d6f84792b4535b0 /package/acx-mac80211/patches/004-ratelimit_compile_fix.patch
parent885f06942ed191ec3ff2b8c30042aa36d8746393 (diff)
acx-mac80211: Compile fix for newer kernels
common.c is missing an include for linux/ratelimit.h. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27190 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/acx-mac80211/patches/004-ratelimit_compile_fix.patch')
-rw-r--r--package/acx-mac80211/patches/004-ratelimit_compile_fix.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/acx-mac80211/patches/004-ratelimit_compile_fix.patch b/package/acx-mac80211/patches/004-ratelimit_compile_fix.patch
new file mode 100644
index 0000000000..34ba08d9b9
--- /dev/null
+++ b/package/acx-mac80211/patches/004-ratelimit_compile_fix.patch
@@ -0,0 +1,10 @@
+--- a/common.c
++++ b/common.c
+@@ -31,6 +31,7 @@
+ #include <linux/ethtool.h>
+ #include <linux/nl80211.h>
+ #include <linux/ieee80211.h>
++#include <linux/ratelimit.h>
+
+ #include <net/mac80211.h>
+