Set RTS if CRTSCTS is set

This commit is contained in:
Kim Woelders
2018-10-17 07:23:19 +02:00
parent a05b17f142
commit 71de4b1ab4
+3
View File
@@ -754,7 +754,10 @@ ttynvt_ioctl(fuse_req_t req, int cmd, void *arg,
telnet_rfc2217_cfg(tty->tn, TNS_SET_STOPSIZE, &sb, 1);
if (tio->c_cflag & CRTSCTS)
{
tty->cmcr |= TIOCM_RTS;
telnet_rfc2217_ctl(tty->tn, TNS_CTL_CTSRTS);
}
if (!(tty->cmcr & TIOCM_DTR) && speed != B0)
{