[backfire] merge r22340
[openwrt-10.03/.git] / package / mac80211 / patches / 020-wext-fix.patch
1 --- a/scripts/gen-compat-autoconf.sh
2 +++ b/scripts/gen-compat-autoconf.sh
3 @@ -191,10 +191,8 @@ if [ -f $KLIB_BUILD/Makefile ]; then
4                 echo CONFIG_NETDEVICES_MULTIQUEUE >> $MULT_DEP_FILE
5                 define_config_multiple_deps CONFIG_MAC80211_QOS y $ALL_DEPS
6                 rm -f $MULT_DEP_FILE
7 -               # Kernels >= 2.6.32 can disable WEXT :D
8 -               if [ $SUBLEVEL -le 32 ]; then
9 -                       define_config_dep CONFIG_CFG80211_WEXT 1 CONFIG_WIRELESS_EXT
10 -               fi
11 +               # Up to kernel 2.6.35 we still need the following:
12 +               define_config_dep CONFIG_CFG80211_WEXT 1 CONFIG_WIRELESS_EXT
13         fi
14  fi
15  echo "#endif /* COMPAT_AUTOCONF_INCLUDED */"