1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 23:46:16 +02:00

[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
This commit is contained in:
jow 2011-11-21 13:33:11 +00:00
parent 74bada8592
commit 7d378d5276
2 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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()