mac80211: fix compile issues on 2.6.35
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 30 Jun 2010 14:10:41 +0000 (14:10 +0000)
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 30 Jun 2010 14:10:41 +0000 (14:10 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21990 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mac80211/patches/020-wext-fix.patch [new file with mode: 0644]

diff --git a/package/mac80211/patches/020-wext-fix.patch b/package/mac80211/patches/020-wext-fix.patch
new file mode 100644 (file)
index 0000000..157b4e4
--- /dev/null
@@ -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