diff options
author | rik <rik@FreeBSD.org> | 2005-07-09 14:23:42 +0000 |
---|---|---|
committer | rik <rik@FreeBSD.org> | 2005-07-09 14:23:42 +0000 |
commit | 5e351d0161e8c4f092d99e3ae7ef8493ad9cbb9a (patch) | |
tree | 4f2ace3f290b7888fa9f9611214602fbd4afba7a | |
parent | 452b8fd2eef793136b4a3b5e49e44d38794ffe8e (diff) | |
download | FreeBSD-src-5e351d0161e8c4f092d99e3ae7ef8493ad9cbb9a.zip FreeBSD-src-5e351d0161e8c4f092d99e3ae7ef8493ad9cbb9a.tar.gz |
Lost CX_UNLOCK().
Pointy hat: me
Approved by: re (scottl)
-rw-r--r-- | sys/dev/cx/if_cx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c index bf458a9..1ed8084 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); } } |