n_tty: Eliminate char tests from IXANY restart test
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 24 Jul 2013 12:29:50 +0000 (08:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jul 2013 16:26:51 +0000 (09:26 -0700)
commit855df3c08968beac9d9a86536c43c0474684ac37
treefef57ab15c274b68e4ab1a1739fbcd1c77cb1883
parent7d88d637a3c75257b7611f9feee0c17fa187ecc9
n_tty: Eliminate char tests from IXANY restart test

Relocate the IXANY restart tty test to code paths where the
the received char is not START_CHAR, STOP_CHAR, INTR_CHAR,
QUIT_CHAR or SUSP_CHAR.

Fixes the condition when ISIG if off and one of INTR_CHAR,
QUIT_CHAR or SUSP_CHAR does not restart i/o.

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