TMXR: Fix to drop DCD and CTS when a modem connection is dropped remotely
As reported in #609
This commit is contained in:
parent
6a015d3ef9
commit
8ac1845b30
1 changed files with 2 additions and 0 deletions
|
@ -1600,6 +1600,8 @@ else {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!lp->conn)
|
||||||
|
lp->modembits &= ~(TMXR_MDM_DCD | TMXR_MDM_CTS);
|
||||||
if ((lp->master) || (lp->mp && lp->mp->master) ||
|
if ((lp->master) || (lp->mp && lp->mp->master) ||
|
||||||
(lp->port && lp->destination))
|
(lp->port && lp->destination))
|
||||||
incoming_state = TMXR_MDM_DSR;
|
incoming_state = TMXR_MDM_DSR;
|
||||||
|
|
Loading…
Add table
Reference in a new issue