Add cdc-acm locking fix from #3836
[openwrt-10.03/.git] / target / linux / generic-2.6 / patches-2.6.25 / 965-cdc_acm_unlock.patch
1 --- linux-2.6.25.12/drivers/usb/class/cdc-acm.c 2008-07-24 18:14:20.000000000 +0200
2 +++ linux-2.6.25.12.new/drivers/usb/class/cdc-acm.c     2008-08-05 21:39:35.000000000 +0200
3 @@ -531,8 +531,8 @@
4         tasklet_schedule(&acm->urb_task);
5  
6  done:
7 -err_out:
8         mutex_unlock(&acm->mutex);
9 +err_out:
10         mutex_unlock(&open_mutex);
11         return rv;
12