aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-06-30 15:21:15 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-06-30 15:21:15 +0000
commit6eb1d83def6f9dcdf7f0a09053506167e1fc3e00 (patch)
treed1b9c284d63b8458c1bff014b87348d807a43b7b /package/mac80211
parent2c037948498dba1d8a45c37f53e079e85b4f8877 (diff)
downloadupstream-6eb1d83def6f9dcdf7f0a09053506167e1fc3e00.tar.gz
upstream-6eb1d83def6f9dcdf7f0a09053506167e1fc3e00.tar.bz2
upstream-6eb1d83def6f9dcdf7f0a09053506167e1fc3e00.zip
mac80211: fix r21990
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21992 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/020-wext-fix.patch14
1 files changed, 9 insertions, 5 deletions
diff --git a/package/mac80211/patches/020-wext-fix.patch b/package/mac80211/patches/020-wext-fix.patch
index 157b4e4ef1..9cbbb4377b 100644
--- a/package/mac80211/patches/020-wext-fix.patch
+++ b/package/mac80211/patches/020-wext-fix.patch
@@ -1,11 +1,15 @@
--- a/scripts/gen-compat-autoconf.sh
+++ b/scripts/gen-compat-autoconf.sh
-@@ -192,7 +192,7 @@ if [ -f $KLIB_BUILD/Makefile ]; then
+@@ -191,10 +191,8 @@ if [ -f $KLIB_BUILD/Makefile ]; then
+ echo CONFIG_NETDEVICES_MULTIQUEUE >> $MULT_DEP_FILE
define_config_multiple_deps CONFIG_MAC80211_QOS y $ALL_DEPS
rm -f $MULT_DEP_FILE
- # Kernels >= 2.6.32 can disable WEXT :D
+- # Kernels >= 2.6.32 can disable WEXT :D
- if [ $SUBLEVEL -le 32 ]; then
-+ if [ $SUBLEVEL -le 35 ]; then
- define_config_dep CONFIG_CFG80211_WEXT 1 CONFIG_WIRELESS_EXT
- fi
+- define_config_dep CONFIG_CFG80211_WEXT 1 CONFIG_WIRELESS_EXT
+- fi
++ # Up to kernel 2.6.35 we still need the following:
++ define_config_dep CONFIG_CFG80211_WEXT 1 CONFIG_WIRELESS_EXT
fi
+ fi
+ echo "#endif /* COMPAT_AUTOCONF_INCLUDED */"