]> git.baikalelectronics.ru Git - kernel.git/commit
USB: Fix throttling in generic usbserial driver
authorJoris van Rantwijk <jorispubl@xs4all.nl>
Thu, 24 Sep 2009 18:20:20 +0000 (20:20 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Oct 2009 20:52:08 +0000 (13:52 -0700)
commitcf4560c163683759c2d4aa3de8e1059cf85b1d96
tree59d215868c66fc5dede76b35f0996514c0984781
parentff09a7b7de2c219749eb224b5a520fa2c422aaf1
USB: Fix throttling in generic usbserial driver

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>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/generic.c