summaryrefslogtreecommitdiff
path: root/package
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
commit5c42c436386ec79b699108de1ee9ad747242c3c5 (patch)
tree4bb670a34c2c50e7da92e7670cb12fcd895fde3a /package
parentffa2e4eaec0b5bfb65fb5a18caf98a8fdee5172b (diff)
downloadmtk-20170518-5c42c436386ec79b699108de1ee9ad747242c3c5.zip
mtk-20170518-5c42c436386ec79b699108de1ee9ad747242c3c5.tar.gz
mtk-20170518-5c42c436386ec79b699108de1ee9ad747242c3c5.tar.bz2
mac80211: fix r21990
SVN-Revision: 21992
Diffstat (limited to 'package')
-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 157b4e4..9cbbb43 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 */"