From 95f0a41bf532fa626338fbd030f9921d05b47698 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 21 Nov 2011 13:33:11 +0000 Subject: mac80211: fix reversed WARN_ON() condition which causes a stray stacktrace on boot SVN-Revision: 29284 --- .../mac80211/patches/910-fix-reversed-warn-on-workqueue.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/mac80211/patches/910-fix-reversed-warn-on-workqueue.patch (limited to 'package/mac80211/patches/910-fix-reversed-warn-on-workqueue.patch') diff --git a/package/mac80211/patches/910-fix-reversed-warn-on-workqueue.patch b/package/mac80211/patches/910-fix-reversed-warn-on-workqueue.patch new file mode 100644 index 0000000..b598574 --- /dev/null +++ b/package/mac80211/patches/910-fix-reversed-warn-on-workqueue.patch @@ -0,0 +1,11 @@ +--- 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() -- cgit v1.1