The check in the WARN_ON is inverted. Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx> --- compat/compat-2.6.36.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/compat/compat-2.6.36.c b/compat/compat-2.6.36.c index aab25df..fe24da8 100644 --- a/compat/compat-2.6.36.c +++ b/compat/compat-2.6.36.c @@ -99,7 +99,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() -- 1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html