Files
wifipineapple-openwrt/package/mac80211/patches/910-fix-reversed-warn-on-workqueue.patch
Jo-Philipp Wich 2559d4ca32 [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()