diff --git a/[refs] b/[refs] index 6693e84c7d7f..500f84198553 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e8823f1ca8d5a0c5d69a8862682ee8bde26990ca +refs/heads/master: 4bd82136cdf04f3a8d50e20c1b76da750f75f2db diff --git a/trunk/drivers/tty/moxa.c b/trunk/drivers/tty/moxa.c index 56e616b9109a..9b57aae139f6 100644 --- a/trunk/drivers/tty/moxa.c +++ b/trunk/drivers/tty/moxa.c @@ -1370,7 +1370,7 @@ static void moxa_new_dcdstate(struct moxa_port *p, u8 dcd) p->DCDState = dcd; spin_unlock_irqrestore(&p->port.lock, flags); tty = tty_port_tty_get(&p->port); - if (tty && C_CLOCAL(tty) && !dcd) + if (tty && !C_CLOCAL(tty) && !dcd) tty_hangup(tty); tty_kref_put(tty); }