tty: TIOCGSOFTCAR/SSOFTCAR on pty is wron
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 26 Aug 2008 18:52:47 +0000 (19:52 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 27 Aug 2008 21:37:09 +0000 (14:37 -0700)
commitf753f3272b4d2108d1e4b121ddcde504737a8693
tree8cb292ba9bd8249c578fdb77f49d7343beaa7815
parent325a9a3d3990e77c62b771a71239fcd0cb6f6e2c
tty: TIOCGSOFTCAR/SSOFTCAR on pty is wron

The termios settings ioctls on a pty should affect the bound tty side not
the pty. The SOFTCAR ioctls use the wrong device file.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_ioctl.c