summaryrefslogtreecommitdiff
path: root/packages/hostap/hostap-modules/mtx_compat.diff
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2006-03-03 10:37:22 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-03-03 10:37:22 +0000
commiteeb3c612f40be70ed5de255f805501a43fb3d533 (patch)
treef164eedb10f97ab2c7baa3455fa80ca4e0718b09 /packages/hostap/hostap-modules/mtx_compat.diff
parent1be4a88b624560e0106f2ea5fe25959df8fc5fdb (diff)
hostap-modules: cleanup to avoid duplication
Diffstat (limited to 'packages/hostap/hostap-modules/mtx_compat.diff')
-rw-r--r--packages/hostap/hostap-modules/mtx_compat.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/hostap/hostap-modules/mtx_compat.diff b/packages/hostap/hostap-modules/mtx_compat.diff
new file mode 100644
index 0000000000..c2d6662d69
--- /dev/null
+++ b/packages/hostap/hostap-modules/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