2.6.32 was the latest version using CONFIG_WIRELESS_EXT. Without this patch
compilation produced
net/wireless/wext-compat.c:443: error: ‘struct wireless_dev’ has no member named ‘wext’
since config.mk defined CONFIG_CFG80211_WEXT but autoconf.sh didn't.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
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