acx-mac80211: Compile fix for newer kernels
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 15 Jun 2011 21:18:21 +0000 (21:18 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 15 Jun 2011 21:18:21 +0000 (21:18 +0000)
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

package/acx-mac80211/patches/004-ratelimit_compile_fix.patch [new file with mode: 0644]

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 (file)
index 0000000..34ba08d
--- /dev/null
@@ -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>