aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2011-02-24 15:53:32 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2011-02-24 15:53:32 +0000
commit2352c3115ca1f316f941689e7bdcab35b4f1aa11 (patch)
tree9bf9e88a8a5d3e6cc625ecf056f111b8009ff63f /package/madwifi
parent772b4e837272df9233ee6c010576ceb67c364cbd (diff)
downloadupstream-2352c3115ca1f316f941689e7bdcab35b4f1aa11.tar.gz
upstream-2352c3115ca1f316f941689e7bdcab35b4f1aa11.tar.bz2
upstream-2352c3115ca1f316f941689e7bdcab35b4f1aa11.zip
package/madwifi: fix for kernels >= 2.6.38
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25702 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rw-r--r--package/madwifi/patches/466-2.6.38_compile.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/madwifi/patches/466-2.6.38_compile.patch b/package/madwifi/patches/466-2.6.38_compile.patch
new file mode 100644
index 0000000000..10a6f0debb
--- /dev/null
+++ b/package/madwifi/patches/466-2.6.38_compile.patch
@@ -0,0 +1,14 @@
+--- a/include/compat.h
++++ b/include/compat.h
+@@ -131,6 +131,11 @@
+ #ifdef __KERNEL__
+
+ #include <linux/version.h>
++
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
++#define AUTOCONF_INCLUDED 1
++#endif
++
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21)
+ #define ATH_REGISTER_SYSCTL_TABLE(t) register_sysctl_table(t, 1)
+ #else