aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/hostap/hostap-modules/mtx_compat.diff
blob: c2d6662d69f0f832f0b25a144c9a296877844aa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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