Lost CX_UNLOCK().

Pointy hat:	me
Approved by:	re (scottl)
This commit is contained in:
Roman Kurakin 2005-07-09 14:23:42 +00:00
parent de66928b86
commit cc8895afc9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=147859

View File

@ -1517,6 +1517,7 @@ static int cx_tmodem (struct tty *tp, int sigon, int sigoff)
if (cx_get_cts (d->chan)) sigon |= SER_CTS;
if (d->chan->dtr) sigon |= SER_DTR;
if (d->chan->rts) sigon |= SER_RTS;
CX_UNLOCK (bd);
return sigon;
}
@ -2241,6 +2242,9 @@ static void cx_carrier (void *arg)
if (d->tty)
ttyld_modem(d->tty, 0);
}
} else {
CX_UNLOCK (bd);
splx (s);
}
}