TMXR: Fix to drop DCD and CTS when a modem connection is dropped remotely

As reported  in #609
This commit is contained in:
Mark Pizzolato 2018-08-26 15:45:12 -07:00
parent 6a015d3ef9
commit 8ac1845b30

View file

@ -1600,6 +1600,8 @@ else {
}
}
}
if (!lp->conn)
lp->modembits &= ~(TMXR_MDM_DCD | TMXR_MDM_CTS);
if ((lp->master) || (lp->mp && lp->mp->master) ||
(lp->port && lp->destination))
incoming_state = TMXR_MDM_DSR;