From: Johan Hovold Date: Wed, 17 Mar 2010 22:00:42 +0000 (+0100) Subject: USB: serial: fix generic chars_in_buffer X-Git-Tag: v2.6.35-rc1~471^2~195 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30af7fb5a40f8724c130428473edffa73170e04c;p=pandora-kernel.git 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 Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed