n_tty: Factor tty->closing receive_buf() into separate fn
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 14:21:27 +0000 (10:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jul 2013 00:11:02 +0000 (17:11 -0700)
commitad0cc7bafe498fb299043582e822fc4e74388edb
tree7cf000589f537fef086058e6a70c656dc032231a
parenta1dd30e9b4c38a4a177106741b03ac6a55777286
n_tty: Factor tty->closing receive_buf() into separate fn

Convert to modal receive_buf() processing; factor receive char
processing when tty->closing into n_tty_receive_buf_closing().

Note that EXTPROC when ISTRIP or IUCLC is set continues to be
handled by n_tty_receive_char().

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c