1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-02 20:34:05 +02:00
openwrt-xburst/package/mac80211/patches/910-fix-reversed-warn-on-workqueue.patch
jow 7d378d5276 [package] mac80211: fix reversed WARN_ON() condition which causes a stray stacktrace on boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-21 13:33:11 +00:00

12 lines
315 B
Diff

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