Also call the low-level driver if ->c_iflag & (IXON|IXOFF|IXANY) changes.
Uftdi(4) examines (c_iflag & (IXON|IXOFF)) to control hw XON-XOFF support. This is obviously no good, if changes to those bits are not communicated down the stack.
This commit is contained in:
parent
e5c92401dd
commit
f9a61f7dcb
@ -1481,6 +1481,8 @@ tty_generic_ioctl(struct tty *tp, u_long cmd, void *data, int fflag,
|
||||
*/
|
||||
if ((t->c_cflag & CIGNORE) == 0 &&
|
||||
(tp->t_termios.c_cflag != t->c_cflag ||
|
||||
((tp->t_termios.c_iflag ^ t->c_iflag) &
|
||||
(IXON|IXOFF|IXANY)) ||
|
||||
tp->t_termios.c_ispeed != t->c_ispeed ||
|
||||
tp->t_termios.c_ospeed != t->c_ospeed)) {
|
||||
error = ttydevsw_param(tp, t);
|
||||
|
Loading…
Reference in New Issue
Block a user