Do not build the mac80211 module in the kernel. The attributes skb->do_not_encrypt and skb->requeue in include/linux/skbuff.h are not used my mac80211 any more.
SVN-Revision: 17276master
parent
620efa556f
commit
f7abb800cf
@ -0,0 +1,24 @@ |
||||
--- a/config.mk
|
||||
+++ b/config.mk
|
||||
@@ -89,21 +89,6 @@ $(error "ERROR: Your 2.6.27 kernel has C
|
||||
endif
|
||||
endif
|
||||
|
||||
-# This is because with CONFIG_MAC80211 include/linux/skbuff.h will
|
||||
-# enable on 2.6.27 a new attribute:
|
||||
-#
|
||||
-# skb->do_not_encrypt
|
||||
-#
|
||||
-# and on 2.6.28 another new attribute:
|
||||
-#
|
||||
-# skb->requeue
|
||||
-#
|
||||
-ifeq ($(shell test $(KERNEL_SUBLEVEL) -ge 27 && echo yes),yes)
|
||||
-ifeq ($(CONFIG_MAC80211),)
|
||||
-$(error "ERROR: Your >=2.6.27 kernel has CONFIG_MAC80211 disabled, you should have it CONFIG_MAC80211=m if you want to use this thing.")
|
||||
-endif
|
||||
-endif
|
||||
-
|
||||
ifneq ($(KERNELRELEASE),) # This prevents a warning
|
||||
|
||||
ifeq ($(CONFIG_NET_SCHED),)
|
@ -0,0 +1,11 @@ |
||||
--- a/include/linux/netdevice.h
|
||||
+++ b/include/linux/netdevice.h
|
||||
@@ -94,7 +94,7 @@ struct wireless_dev;
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_WLAN_80211) || defined(CONFIG_AX25) || defined(CONFIG_AX25_MODULE)
|
||||
-# if defined(CONFIG_MAC80211_MESH)
|
||||
+# if 1 || defined(CONFIG_MAC80211_MESH)
|
||||
# define LL_MAX_HEADER 128
|
||||
# else
|
||||
# define LL_MAX_HEADER 96
|
@ -0,0 +1,11 @@ |
||||
--- a/include/linux/netdevice.h
|
||||
+++ b/include/linux/netdevice.h
|
||||
@@ -95,7 +95,7 @@ struct wireless_dev;
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_WLAN_80211) || defined(CONFIG_AX25) || defined(CONFIG_AX25_MODULE)
|
||||
-# if defined(CONFIG_MAC80211_MESH)
|
||||
+# if 1 || defined(CONFIG_MAC80211_MESH)
|
||||
# define LL_MAX_HEADER 128
|
||||
# else
|
||||
# define LL_MAX_HEADER 96
|
@ -0,0 +1,11 @@ |
||||
--- a/include/linux/netdevice.h
|
||||
+++ b/include/linux/netdevice.h
|
||||
@@ -99,7 +99,7 @@ struct wireless_dev;
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_WLAN_80211) || defined(CONFIG_AX25) || defined(CONFIG_AX25_MODULE)
|
||||
-# if defined(CONFIG_MAC80211_MESH)
|
||||
+# if 1 || defined(CONFIG_MAC80211_MESH)
|
||||
# define LL_MAX_HEADER 128
|
||||
# else
|
||||
# define LL_MAX_HEADER 96
|
Loading…
Reference in new issue