summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/060-fix_compat_security.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/060-fix_compat_security.patch')
-rw-r--r--package/mac80211/patches/060-fix_compat_security.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/060-fix_compat_security.patch b/package/mac80211/patches/060-fix_compat_security.patch
new file mode 100644
index 0000000..1942499
--- /dev/null
+++ b/package/mac80211/patches/060-fix_compat_security.patch
@@ -0,0 +1,11 @@
+--- a/include/linux/compat-3.1.h
++++ b/include/linux/compat-3.1.h
+@@ -5,6 +5,8 @@
+
+ #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,1,0))
+
++#include <linux/security.h>
++
+ #define genl_dump_check_consistent(cb, user_hdr, family)
+
+ #define IFF_TX_SKB_SHARING 0x10000 /* The interface supports sharing