From 5e351d0161e8c4f092d99e3ae7ef8493ad9cbb9a Mon Sep 17 00:00:00 2001 From: rik Date: Sat, 9 Jul 2005 14:23:42 +0000 Subject: [PATCH] Lost CX_UNLOCK(). Pointy hat: me Approved by: re (scottl) --- sys/dev/cx/if_cx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c index bf458a90818b..1ed808414fe4 100644 --- a/sys/dev/cx/if_cx.c +++ b/sys/dev/cx/if_cx.c @@ -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); } }