n_tty: Unthrottle tty when flushing read buffer
authorKarthik Manamcheri <Karthik.Manamcheri@ni.com>
Wed, 23 Jan 2013 22:36:18 +0000 (16:36 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jan 2013 16:52:23 +0000 (08:52 -0800)
commit58f82be334ede87aa6ff6fa1afdb05552be907be
treebd7600f66c7ef0af87ac7ef260447976f5defd1f
parentebcf09816c68d1082aec5a2646e9f20715384502
n_tty: Unthrottle tty when flushing read buffer

When the tty input buffer is full and thereby throttled,
flushing/resetting the read buffer should unthrottle to allow more
data to be received.

Signed-off-by: Karthik Manamcheri <Karthik.Manamcheri@ni.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c