summaryrefslogtreecommitdiff
path: root/package/mac80211/patches
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-21 13:33:11 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-21 13:33:11 +0000
commit7d378d5276197ecd381c46dc1e07212775cca944 (patch)
treef0c6639bbd5f9af484de2927ee54ea6301a771b1 /package/mac80211/patches
parent74bada8592edff251247becb186eaa62276ac718 (diff)
[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
Diffstat (limited to 'package/mac80211/patches')
-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 0000000000..b5985741ca
--- /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()