summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d083104)
raw | patch | inline | side by side (parent: d083104)
author | Luis R. Rodriguez <lrodriguez@atheros.com> | |
Mon, 17 May 2010 23:16:48 +0000 (16:16 -0700) | ||
committer | Luis R. Rodriguez <lrodriguez@atheros.com> | |
Mon, 17 May 2010 23:20:12 +0000 (16:20 -0700) |
CONFIG_WIRELESS_EXT is no longer required on kernels >= 2.6.32
The new WEXT stuff can be enabled throught the CONFIG_CFG80211_WEXT
which would enable CONFIG_WIRELESS_EXT. Legacy (non-cfg80211,
non-mac80211) drivers also need to select CONFIG_WIRELESS_EXT
now as otherwise its left disabled.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
The new WEXT stuff can be enabled throught the CONFIG_CFG80211_WEXT
which would enable CONFIG_WIRELESS_EXT. Legacy (non-cfg80211,
non-mac80211) drivers also need to select CONFIG_WIRELESS_EXT
now as otherwise its left disabled.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
scripts/gen-compat-autoconf.sh | patch | blob | history |
index 6c7cae72f9628253193e0df566d4a1b7f44083b7..9c78e35de83709807f66d598616ed5d88498e598 100755 (executable)
# Checks user is compiling against a kernel we support
kernel_version_req $OLDEST_KERNEL_SUPPORTED
-# Handle core kernel wireless depenencies here
-define_config_req CONFIG_WIRELESS_EXT
-
# For each CONFIG_FOO=x option
for i in $(grep '^CONFIG_' $COMPAT_CONFIG); do
# Get the element on the left of the "="
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 -lt 32 ]; then
+ # Handle core kernel wireless depenencies here
+ define_config_req CONFIG_WIRELESS_EXT
+ fi
fi
fi
echo "#endif /* COMPAT_AUTOCONF_INCLUDED */"