1
0

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>
Este cometimento está contido em:
Alan Cox
2008-10-13 10:44:17 +01:00
cometido por Linus Torvalds
ascendente fe6e29fdb1
cometimento 47afa7a5a8
5 ficheiros modificados com 56 adições e 45 eliminações

Ver ficheiro

@@ -484,7 +484,7 @@ static int hci_uart_tty_ioctl(struct tty_struct *tty, struct file * file,
return -EUNATCH;
default:
err = n_tty_ioctl(tty, file, cmd, arg);
err = n_tty_ioctl_helper(tty, file, cmd, arg);
break;
};