mirror of
https://github.com/troglobit/finit.git
synced 2026-11-01 13:10:32 +00:00
Actually disable modem specific flags
Signed-off-by: Mattias Walström <lazzer@gmail.com> Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
f335e74cb8
commit
74f3a3f5c8
1 file changed
+1
-1
@@ -77,7 +77,7 @@ static void stty(int fd, speed_t speed)
|
|||||||
tcflush(fd, TCIOFLUSH);
|
tcflush(fd, TCIOFLUSH);
|
||||||
|
|
||||||
/* Disable modem specific flags */
|
/* Disable modem specific flags */
|
||||||
term.c_cflag &= (0|CSTOPB|PARENB|PARODD);
|
term.c_cflag &= ~(0|CSTOPB|PARENB|PARODD);
|
||||||
term.c_cflag &= ~CRTSCTS;
|
term.c_cflag &= ~CRTSCTS;
|
||||||
term.c_cflag |= CLOCAL;
|
term.c_cflag |= CLOCAL;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user