summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-11-20 09:29:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-11-20 09:29:27 +0000
commite49b39486a166bc348e7f055cc558af2181884a9 (patch)
tree00aa5f5e42bda00818ca099594bdc862c4c6974a /package
parentb5739aabd971ec43527748605567f0a9ec727989 (diff)
downloadmtk-20170518-e49b39486a166bc348e7f055cc558af2181884a9.zip
mtk-20170518-e49b39486a166bc348e7f055cc558af2181884a9.tar.gz
mtk-20170518-e49b39486a166bc348e7f055cc558af2181884a9.tar.bz2
mac80211: fix a workqueue compat backport
SVN-Revision: 29271
Diffstat (limited to 'package')
-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 0000000..d94507d
--- /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 */
+-