USB: Fix throttling in generic usbserial driver
commitef6a2d7173326557fc172598ce10171dc541ce69
authorJoris van Rantwijk <jorispubl@xs4all.nl>
Thu, 24 Sep 2009 18:20:20 +0000 (24 20:20 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Oct 2009 22:11:50 +0000 (22 15:11 -0700)
tree330c3a1a1017cd684d3afe63a2cef390d6950025
parent286246bae2d44bb3b1533366e4f435bff337ceb0
USB: Fix throttling in generic usbserial driver

commit 63a9609513007537a0b23ac511fd73f9bd609ea0 upstream.

The generic usbserial driver in Linux 2.6.31 halts its receiving
channel in response to throttle requests from the line discipline.
Unfortunately it drops the contents of the first URB received after
throttling takes effect. This patch corrects that problem.

Signed-off-by: Joris van Rantwijk <jorispubl@xs4all.nl>
Acked-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/generic.c