1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-12 08:18:26 +02:00
openwrt-xburst/package/mac80211/patches/910-fix-reversed-warn-on-workqueue.patch

12 lines
315 B
Diff
Raw Normal View History

--- 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()