From: Luis R. Rodriguez Date: Tue, 6 Oct 2009 20:01:38 +0000 (-0400) Subject: config.mk: remove CONFIG_WEXT_* stuff X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=46bbd7e7079bd64a0ece1ae526a03dfdd320b2da;p=openwrt%2Fstaging%2Fblogic.git config.mk: remove CONFIG_WEXT_* stuff This should not be enabled by compat-wireless -- this is the old wext stuff which is always built into the kernel. On newer kernels (>= 2.6.33) these config options will already be provided by your kernel. Signed-off-by: Luis R. Rodriguez --- diff --git a/config.mk b/config.mk index 28c5224c8d92..10a9762ccad8 100644 --- a/config.mk +++ b/config.mk @@ -109,8 +109,8 @@ CONFIG_MAC80211_MESH=y CONFIG_CFG80211=m CONFIG_CFG80211_DEFAULT_PS=y CONFIG_CFG80211_DEFAULT_PS_VALUE=1 -CONFIG_CFG80211_WEXT=y # CONFIG_CFG80211_REG_DEBUG=y +# See below for wext stuff CONFIG_LIB80211=m CONFIG_LIB80211_CRYPT_WEP=m @@ -120,13 +120,22 @@ CONFIG_LIB80211_CRYPT_TKIP=m CONFIG_WIRELESS_OLD_REGULATORY=n +ifdef CONFIG_COMPAT_WIRELESS_32 +# Old kernels stil do depend on CONFIG_WIRELESS_EXT +# as we add the wireless handler back to the struct +# netdevice ifneq ($(CONFIG_WIRELESS_EXT),) -CONFIG_WEXT_CORE=m -CONFIG_WEXT_PROC=m -CONFIG_WEXT_SPY=m -CONFIG_WEXT_PRIV=m CONFIG_CFG80211_WEXT=y endif +else +# 2.6.33 and above do not need CONFIG_WIRELESS_EXT, but the +# reality is we should select CONFIG_WIRELESS_EXT only if a +# driver claims for it (one of the old non-cfg80211 drivers). +# Then users could either have this on or off but we leave it +# on in case users on >= 2.6.33 still have iwconfig and other +# old deprecated userspace applications. +CONFIG_CFG80211_WEXT=y +endif # CONFIG_COMPAT_WIRELESS_32 # mac80211 test driver CONFIG_MAC80211_HWSIM=m