aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
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
parent9990523a0fd6b237ad10369a94b536d948482114 (diff)
downloadupstream-95f0a41bf532fa626338fbd030f9921d05b47698.tar.gz
upstream-95f0a41bf532fa626338fbd030f9921d05b47698.tar.bz2
upstream-95f0a41bf532fa626338fbd030f9921d05b47698.zip
mac80211: fix reversed WARN_ON() condition which causes a stray stacktrace on boot
SVN-Revision: 29284
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/Makefile2
-rw-r--r--package/mac80211/patches/910-fix-reversed-warn-on-workqueue.patch11
2 files changed, 13 insertions, 0 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 25df7aa319..aa729414a2 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -40,6 +40,8 @@ PKG_CONFIG_DEPENDS:= \
CARL9170_FW_VERSION:=1.9.4
+#QUILT_PATCH_DIR:=patches-openwrt
+
include $(INCLUDE_DIR)/package.mk
WMENU:=Wireless Drivers
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()