aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-06-30 14:10:41 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-06-30 14:10:41 +0000
commit186fa5153184859f39fe3d1438622ae47adf6973 (patch)
treeccf5372d7e43ad068658fb61c33147d1579d97c8
parent96436fac60ccb9bb5fb3e26589dcf7fc5d89ec89 (diff)
downloadupstream-186fa5153184859f39fe3d1438622ae47adf6973.tar.gz
upstream-186fa5153184859f39fe3d1438622ae47adf6973.tar.bz2
upstream-186fa5153184859f39fe3d1438622ae47adf6973.zip
mac80211: fix compile issues on 2.6.35
SVN-Revision: 21990
-rw-r--r--package/mac80211/patches/020-wext-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/020-wext-fix.patch b/package/mac80211/patches/020-wext-fix.patch
new file mode 100644
index 0000000000..157b4e4ef1
--- /dev/null
+++ b/package/mac80211/patches/020-wext-fix.patch
@@ -0,0 +1,11 @@
+--- a/scripts/gen-compat-autoconf.sh
++++ b/scripts/gen-compat-autoconf.sh
+@@ -192,7 +192,7 @@ if [ -f $KLIB_BUILD/Makefile ]; then
+ define_config_multiple_deps CONFIG_MAC80211_QOS y $ALL_DEPS
+ rm -f $MULT_DEP_FILE
+ # 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
+ fi