getty: do clear CLOCAL and CRTSCTS unless told otherwise

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2011-01-26 16:06:16 +01:00
parent cf9d33a894
commit ffd81f2003

View File

@ -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;