diff mbox

compat-wireless: fix compilation for 2.6.32

Message ID 1277027097-3222-1-git-send-email-fercerpav@gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Paul Fertser June 20, 2010, 9:44 a.m. UTC
None
diff mbox

Patch

diff --git a/scripts/gen-compat-autoconf.sh b/scripts/gen-compat-autoconf.sh
index 88e2740..1e3002e 100755
--- 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 -lt 32 ]; then
+		if [ $SUBLEVEL -le 32 ]; then
 			define_config_dep CONFIG_CFG80211_WEXT 1 CONFIG_WIRELESS_EXT
 		fi
 	fi