summaryrefslogtreecommitdiff
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
commit86265da9654051b3b3beaaf3edab9f4e15148db4 (patch)
tree8f107134f8264e3eef6f01b60c496b29d3c76910
parent44c696ac78a6888d49753b1626cd1aa86917738f (diff)
downloadmtk-20170518-86265da9654051b3b3beaaf3edab9f4e15148db4.zip
mtk-20170518-86265da9654051b3b3beaaf3edab9f4e15148db4.tar.gz
mtk-20170518-86265da9654051b3b3beaaf3edab9f4e15148db4.tar.bz2
package/madwifi: fix for kernels >= 2.6.38
SVN-Revision: 25702
-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 0000000..10a6f0d
--- /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