we know it is called rpclose() so call it directly.
This commit is contained in:
parent
733634738e
commit
c530c970bc
@ -699,7 +699,7 @@ static void rp_handle_port(struct rp_port *rp)
|
|||||||
if((tp->t_state & TS_CARR_ON)) {
|
if((tp->t_state & TS_CARR_ON)) {
|
||||||
(void)ttyld_modem(tp, 0);
|
(void)ttyld_modem(tp, 0);
|
||||||
if(ttyld_modem(tp, 0) == 0) {
|
if(ttyld_modem(tp, 0) == 0) {
|
||||||
tp->t_close(tp);
|
rpclose(tp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user