getty: do clear CLOCAL and CRTSCTS unless told otherwise
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
cf9d33a894
commit
ffd81f2003
@ -279,10 +279,6 @@ static void termios_init(int speed)
|
||||
#ifdef CIBAUD
|
||||
| CIBAUD /* input baud rate */
|
||||
#endif
|
||||
#ifdef CRTSCTS
|
||||
| CRTSCTS /* flow control using RTS/CTS pins */
|
||||
#endif
|
||||
| CLOCAL
|
||||
);
|
||||
/* Set: 8 bits; hang up (drop DTR) on last close; enable receive */
|
||||
G.termios.c_cflag |= CS8 | HUPCL | CREAD;
|
||||
|
Loading…
Reference in New Issue
Block a user