commit | 30af7fb5a40f8724c130428473edffa73170e04c | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Wed Mar 17 23:00:42 2010 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu May 20 13:21:33 2010 -0700 |
tree | 07c8fcd3493a06f67dc2b7b0aea4b48152dc2fa3 | |
parent | 7919c2fd9e07276403b9a4d9ae52305e0d70f923 [diff] |
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>