TTY: hvsi, CLOCAL is not in tty->flags
authorJiri Slaby <jslaby@suse.cz>
Mon, 2 Apr 2012 11:54:27 +0000 (13:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 18:28:26 +0000 (11:28 -0700)
commit5f566051fbc3e7754f903b3b4bf67a44e0ae2d1a
tree5c76188fb417ff77dfb8e093b00acc9e84ca4a37
parent6968a7592a1f27386174617b6dbef31044da91ed
TTY: hvsi, CLOCAL is not in tty->flags

It is in termios cflags. So change the test in hvsi_recv_control to do
the right thing. Previously it was actually testing TTY_LDISC_OPEN
bit, i.e. whether an ldisc is active. And yes, it is most of the time.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvsi.c