Add cdc-acm locking fix from #3836
authorFlorian Fainelli <florian@openwrt.org>
Tue, 5 Aug 2008 19:43:58 +0000 (19:43 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 5 Aug 2008 19:43:58 +0000 (19:43 +0000)
SVN-Revision: 12154

target/linux/generic-2.6/patches-2.6.25/965-cdc_acm_unlock.patch [new file with mode: 0644]

diff --git a/target/linux/generic-2.6/patches-2.6.25/965-cdc_acm_unlock.patch b/target/linux/generic-2.6/patches-2.6.25/965-cdc_acm_unlock.patch
new file mode 100644 (file)
index 0000000..7107a93
--- /dev/null
@@ -0,0 +1,12 @@
+--- linux-2.6.25.12/drivers/usb/class/cdc-acm.c        2008-07-24 18:14:20.000000000 +0200
++++ linux-2.6.25.12.new/drivers/usb/class/cdc-acm.c    2008-08-05 21:39:35.000000000 +0200
+@@ -531,8 +531,8 @@
+       tasklet_schedule(&acm->urb_task);
+ done:
+-err_out:
+       mutex_unlock(&acm->mutex);
++err_out:
+       mutex_unlock(&open_mutex);
+       return rv;