summaryrefslogtreecommitdiffstats
path: root/recipes/hostap/hostap-modules/ipaq_compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/hostap/hostap-modules/ipaq_compat.patch')
-rw-r--r--recipes/hostap/hostap-modules/ipaq_compat.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/hostap/hostap-modules/ipaq_compat.patch b/recipes/hostap/hostap-modules/ipaq_compat.patch
new file mode 100644
index 0000000000..b139ef38f1
--- /dev/null
+++ b/recipes/hostap/hostap-modules/ipaq_compat.patch
@@ -0,0 +1,11 @@
+--- hostap-driver-0.3.7/driver/modules/hostap_compat.h.old 2005-04-17 09:12:38.304421464 +0100
++++ hostap-driver-0.3.7/driver/modules/hostap_compat.h 2005-04-17 09:13:04.413452288 +0100
+@@ -5,7 +5,7 @@
+ #define NEW_MODULE_CODE
+ #endif
+
+-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,44))
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,44)) && !defined(CONFIG_IPAQ_HANDHELD)
+
+ #define HOSTAP_QUEUE struct tq_struct
+