n_tty: Only flush echo output if actually output
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 14:04:27 +0000 (10:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jul 2013 00:02:22 +0000 (17:02 -0700)
commitbc5b1ec5860a9bf52842be4a3a9d96e19f06c11d
tree85a134a54a6c82f15ef3124d8ad6adf179ffd88b
parentcbfd0340ae1993378fd47179db949e050e16e697
n_tty: Only flush echo output if actually output

Don't have the driver flush received echoes if no echoes were
actually output.

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