summaryrefslogtreecommitdiff
path: root/hostap/hostap-modules-0.2.5/mtx_compat.diff
diff options
context:
space:
mode:
Diffstat (limited to 'hostap/hostap-modules-0.2.5/mtx_compat.diff')
-rw-r--r--hostap/hostap-modules-0.2.5/mtx_compat.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/hostap/hostap-modules-0.2.5/mtx_compat.diff b/hostap/hostap-modules-0.2.5/mtx_compat.diff
index e69de29bb2..c2d6662d69 100644
--- a/hostap/hostap-modules-0.2.5/mtx_compat.diff
+++ b/hostap/hostap-modules-0.2.5/mtx_compat.diff
@@ -0,0 +1,20 @@
+--- driver/modules/hostap_compat.h.orig 2004-08-09 16:16:48.359929856 +0200
++++ driver/modules/hostap_compat.h 2004-08-09 16:17:12.383277752 +0200
+@@ -13,7 +13,7 @@
+ MOD_INC_USE_COUNT; \
+ if (schedule_task((q)) == 0) \
+ MOD_DEC_USE_COUNT;
+-
++/*
+ static inline void flush_scheduled_work(void)
+ {
+ flush_scheduled_tasks();
+@@ -27,7 +27,7 @@
+ tq->routine = routine;
+ tq->data = data;
+ }
+-
++*/
+ #else /* kernel < 2.5.44 */
+
+ #define HOSTAP_QUEUE struct work_struct