serial/pty: Don't initialize pd_iflag to ISIG
since ISIG belong local mode flags not input mode flags, but local mode isn't implemented by pty driver yet. Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
e3fed03e43
commit
3ec208fdbc
|
@ -1087,7 +1087,6 @@ int pty_register(int minor)
|
||||||
devpair->pp_master.pd_master = true;
|
devpair->pp_master.pd_master = true;
|
||||||
devpair->pp_slave.pd_devpair = devpair;
|
devpair->pp_slave.pd_devpair = devpair;
|
||||||
#ifdef CONFIG_SERIAL_TERMIOS
|
#ifdef CONFIG_SERIAL_TERMIOS
|
||||||
devpair->pp_slave.pd_iflag = ISIG;
|
|
||||||
devpair->pp_slave.pd_oflag = OPOST | ONLCR;
|
devpair->pp_slave.pd_oflag = OPOST | ONLCR;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue