summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/910-fix-reversed-warn-on-workqueue.patch
blob: b5985741ca4750ed44c9379d8a15df4568722106 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/compat/compat-2.6.36.c
+++ b/compat/compat-2.6.36.c
@@ -101,7 +101,7 @@ EXPORT_SYMBOL_GPL(system_nrt_wq);
 void compat_system_workqueue_create()
 {
 	system_nrt_wq = create_singlethread_workqueue("events_nrt");
-	WARN_ON(system_nrt_wq);
+	WARN_ON(!system_nrt_wq);
 }
 
 void compat_system_workqueue_destroy()