package/madwifi: fix for kernels >= 2.6.38
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 24 Feb 2011 15:53:32 +0000 (15:53 +0000)
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 24 Feb 2011 15:53:32 +0000 (15:53 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25702 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/madwifi/patches/466-2.6.38_compile.patch [new file with mode: 0644]

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 (file)
index 0000000..10a6f0d
--- /dev/null
@@ -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
This page took 0.030004 seconds and 4 git commands to generate.