Add cdc-acm locking fix from #3836

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12154 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Florian Fainelli 2008-08-05 19:43:58 +00:00
parent 2139663efc
commit 39d1c74794

View File

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