Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338407
b: refs/heads/master
c: 4bd8213
h: refs/heads/master
i:
  338405: 5d2c2ec
  338403: 6c242e2
  338399: 771fefc
v: v3
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Nov 16, 2012
1 parent 2330041 commit 7fcf335
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e8823f1ca8d5a0c5d69a8862682ee8bde26990ca
refs/heads/master: 4bd82136cdf04f3a8d50e20c1b76da750f75f2db
2 changes: 1 addition & 1 deletion trunk/drivers/tty/moxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 7fcf335

Please sign in to comment.