summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/020-wext-fix.patch
blob: 9cbbb4377b7d3ae95a3f3a2b95e01da77dc411bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/scripts/gen-compat-autoconf.sh
+++ b/scripts/gen-compat-autoconf.sh
@@ -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
-		if [ $SUBLEVEL -le 32 ]; then
-			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 */"