mac80211: fix compile issues on 2.6.35
[openwrt.git] / package / mac80211 / patches / 020-wext-fix.patch
1 --- a/scripts/gen-compat-autoconf.sh
2 +++ b/scripts/gen-compat-autoconf.sh
3 @@ -192,7 +192,7 @@ if [ -f $KLIB_BUILD/Makefile ]; then
4                 define_config_multiple_deps CONFIG_MAC80211_QOS y $ALL_DEPS
5                 rm -f $MULT_DEP_FILE
6                 # Kernels >= 2.6.32 can disable WEXT :D
7 -               if [ $SUBLEVEL -le 32 ]; then
8 +               if [ $SUBLEVEL -le 35 ]; then
9                         define_config_dep CONFIG_CFG80211_WEXT 1 CONFIG_WIRELESS_EXT
10                 fi
11         fi