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