summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/910-fix-reversed-warn-on-workqueue.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-11-21 13:33:11 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-11-21 13:33:11 +0000
commit95f0a41bf532fa626338fbd030f9921d05b47698 (patch)
tree47b88d24c4a865ad34989a2fb568c16c13d33d9a /package/mac80211/patches/910-fix-reversed-warn-on-workqueue.patch
parent9990523a0fd6b237ad10369a94b536d948482114 (diff)
downloadmtk-20170518-95f0a41bf532fa626338fbd030f9921d05b47698.zip
mtk-20170518-95f0a41bf532fa626338fbd030f9921d05b47698.tar.gz
mtk-20170518-95f0a41bf532fa626338fbd030f9921d05b47698.tar.bz2
mac80211: fix reversed WARN_ON() condition which causes a stray stacktrace on boot
SVN-Revision: 29284
Diffstat (limited to 'package/mac80211/patches/910-fix-reversed-warn-on-workqueue.patch')
-rw-r--r--package/mac80211/patches/910-fix-reversed-warn-on-workqueue.patch11
1 files changed, 11 insertions, 0 deletions
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()