1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-01 09:11:59 +03:00

[mac80211] fix for commit r17276

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17280 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hauke 2009-08-15 22:12:17 +00:00
parent 445e06373c
commit a7cf249b3c
3 changed files with 33 additions and 0 deletions

View File

@ -9,3 +9,14 @@
# define LL_MAX_HEADER 128
# else
# define LL_MAX_HEADER 96
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -326,7 +326,7 @@ struct sk_buff {
#ifdef CONFIG_IPV6_NDISC_NODETYPE
__u8 ndisc_nodetype:2;
#endif
-#if defined(CONFIG_MAC80211) || defined(CONFIG_MAC80211_MODULE)
+#if 1
__u8 do_not_encrypt:1;
#endif
/* 0/13/14 bit hole */

View File

@ -9,3 +9,14 @@
# define LL_MAX_HEADER 128
# else
# define LL_MAX_HEADER 96
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -332,7 +332,7 @@ struct sk_buff {
#ifdef CONFIG_IPV6_NDISC_NODETYPE
__u8 ndisc_nodetype:2;
#endif
-#if defined(CONFIG_MAC80211) || defined(CONFIG_MAC80211_MODULE)
+#if 1
__u8 do_not_encrypt:1;
#endif
/* 0/13/14 bit hole */

View File

@ -9,3 +9,14 @@
# define LL_MAX_HEADER 128
# else
# define LL_MAX_HEADER 96
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -387,7 +387,7 @@ struct sk_buff {
#ifdef CONFIG_IPV6_NDISC_NODETYPE
__u8 ndisc_nodetype:2;
#endif
-#if defined(CONFIG_MAC80211) || defined(CONFIG_MAC80211_MODULE)
+#if 1
__u8 do_not_encrypt:1;
__u8 requeue:1;
#endif