summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/051-compat_workqueue.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-20 09:29:27 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-20 09:29:27 +0000
commit29791a765cc2ffc02bfdc721f950205669f06c2a (patch)
tree7cb37a0705ead193267b90f0592ec33f91414965 /package/mac80211/patches/051-compat_workqueue.patch
parent9ffbe98bd518f7a7e791bf19c4bde82b1cfbc4f6 (diff)
mac80211: fix a workqueue compat backport
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29271 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/051-compat_workqueue.patch')
-rw-r--r--package/mac80211/patches/051-compat_workqueue.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/mac80211/patches/051-compat_workqueue.patch b/package/mac80211/patches/051-compat_workqueue.patch
new file mode 100644
index 0000000000..d94507db71
--- /dev/null
+++ b/package/mac80211/patches/051-compat_workqueue.patch
@@ -0,0 +1,18 @@
+--- a/compat/compat-2.6.36.c
++++ b/compat/compat-2.6.36.c
+@@ -93,6 +93,8 @@ void compat_usb_scuttle_anchored_urbs(st
+ }
+ EXPORT_SYMBOL_GPL(compat_usb_scuttle_anchored_urbs);
+
++#endif /* CONFIG_COMPAT_USB_URB_THREAD_FIX */
++
+ struct workqueue_struct *system_nrt_wq __read_mostly;
+ EXPORT_SYMBOL_GPL(system_nrt_wq);
+
+@@ -106,6 +108,3 @@ void compat_system_workqueue_destroy()
+ {
+ destroy_workqueue(system_nrt_wq);
+ }
+-
+-#endif /* CONFIG_COMPAT_USB_URB_THREAD_FIX */
+-