usb: cdc-acm: fix devices not unthrottled on open
authorOtto Meta <otto.patches@sister-shadow.de>
Wed, 6 Jun 2012 16:46:21 +0000 (18:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Jun 2012 00:13:33 +0000 (17:13 -0700)
commit6c4707f3f8c44ec18282e1c014c80e1c257042f9
tree78ad3864dc655dada5ad4f667708a9da72343127
parent354ab8567ae3107a8cbe7228c3181990ba598aac
usb: cdc-acm: fix devices not unthrottled on open

Currently CDC-ACM devices stay throttled when their TTY is closed while
throttled, stalling further communication attempts after the next open.

Unthrottling during open/activate got lost starting with kernel
3.0.0 and this patch reintroduces it.

Signed-off-by: Otto Meta <otto.patches@sister-shadow.de>
Cc: stable <stable@vger.kernel.org>
Acked-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c