From 420ee4fb77db8cc22fb4db568574276101def36f Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Mon, 2 Apr 2012 13:54:27 +0200 Subject: [PATCH] --- yaml --- r: 304156 b: refs/heads/master c: 5f566051fbc3e7754f903b3b4bf67a44e0ae2d1a h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/tty/hvc/hvsi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 175ec440e2e5..bacd2a7718c5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6968a7592a1f27386174617b6dbef31044da91ed +refs/heads/master: 5f566051fbc3e7754f903b3b4bf67a44e0ae2d1a diff --git a/trunk/drivers/tty/hvc/hvsi.c b/trunk/drivers/tty/hvc/hvsi.c index a7488b748647..4006aed42ee2 100644 --- a/trunk/drivers/tty/hvc/hvsi.c +++ b/trunk/drivers/tty/hvc/hvsi.c @@ -248,7 +248,7 @@ static void hvsi_recv_control(struct hvsi_struct *hp, uint8_t *packet, pr_debug("hvsi%i: CD dropped\n", hp->index); hp->mctrl &= TIOCM_CD; /* If userland hasn't done an open(2) yet, hp->tty is NULL. */ - if (hp->tty && !(hp->tty->flags & CLOCAL)) + if (hp->tty && !C_CLOCAL(hp->tty)) *to_hangup = hp->tty; } break;