tty: some ICANON magic is in the wrong places
authorAlan Cox <alan@redhat.com>
Mon, 13 Oct 2008 09:44:17 +0000 (10:44 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:44 +0000 (09:51 -0700)
commit47afa7a5a8a8fb9e60cdb6a3bd612e07c37e9d90
tree4f07d3aed0a08516162e529df75a014bd0798f8f
parentfe6e29fdb1a7b94891bbdd3c67358fe4ed14639d
tty: some ICANON magic is in the wrong places

Move the set up on ldisc change into the ldisc
Move the INQ/OUTQ cases into the driver not in shared ioctl code where it
gives bogus answers for other ldisc values

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/bluetooth/hci_ldisc.c
drivers/char/n_hdlc.c
drivers/char/n_tty.c
drivers/char/tty_ioctl.c
include/linux/tty.h