Set RTS if CRTSCTS is set
This commit is contained in:
@@ -754,7 +754,10 @@ ttynvt_ioctl(fuse_req_t req, int cmd, void *arg,
|
|||||||
telnet_rfc2217_cfg(tty->tn, TNS_SET_STOPSIZE, &sb, 1);
|
telnet_rfc2217_cfg(tty->tn, TNS_SET_STOPSIZE, &sb, 1);
|
||||||
|
|
||||||
if (tio->c_cflag & CRTSCTS)
|
if (tio->c_cflag & CRTSCTS)
|
||||||
|
{
|
||||||
|
tty->cmcr |= TIOCM_RTS;
|
||||||
telnet_rfc2217_ctl(tty->tn, TNS_CTL_CTSRTS);
|
telnet_rfc2217_ctl(tty->tn, TNS_CTL_CTSRTS);
|
||||||
|
}
|
||||||
|
|
||||||
if (!(tty->cmcr & TIOCM_DTR) && speed != B0)
|
if (!(tty->cmcr & TIOCM_DTR) && speed != B0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user