aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/020-wext-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/020-wext-fix.patch')
-rw-r--r--package/mac80211/patches/020-wext-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/020-wext-fix.patch b/package/mac80211/patches/020-wext-fix.patch
new file mode 100644
index 0000000000..157b4e4ef1
--- /dev/null
+++ b/package/mac80211/patches/020-wext-fix.patch
@@ -0,0 +1,11 @@
+--- a/scripts/gen-compat-autoconf.sh
++++ b/scripts/gen-compat-autoconf.sh
+@@ -192,7 +192,7 @@ if [ -f $KLIB_BUILD/Makefile ]; then
+ 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 -le 32 ]; then
++ if [ $SUBLEVEL -le 35 ]; then
+ define_config_dep CONFIG_CFG80211_WEXT 1 CONFIG_WIRELESS_EXT
+ fi
+ fi
='n112' href='#n112'>112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168