diff options
| author | 2010-03-17 23:00:42 +0100 | |
|---|---|---|
| committer | 2010-05-20 13:21:33 -0700 | |
| commit | 30af7fb5a40f8724c130428473edffa73170e04c (patch) | |
| tree | 07c8fcd3493a06f67dc2b7b0aea4b48152dc2fa3 /drivers/usb/serial/usb_debug.c | |
| parent | USB: pl2303: increase bulk-in buffer size to 256 byte (diff) | |
| download | wireguard-linux-30af7fb5a40f8724c130428473edffa73170e04c.tar.xz wireguard-linux-30af7fb5a40f8724c130428473edffa73170e04c.zip | |
USB: serial: fix generic chars_in_buffer
Make sure chars_in_buffer accounts also for data in host stack queues.
This fixes the problem with tty_wait_until_sent returning too soon at
close which could cause the final write urb to be cancelled.
Reported-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/usb_debug.c')
0 files changed, 0 insertions, 0 deletions
