Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325578
b: refs/heads/master
c: a1e8440
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Jun 12, 2012
1 parent 123a72b commit e5305ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 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: 0ba9ff846b2f4720e30ace37b028ef14fb97fb74
refs/heads/master: a1e844036af9cb0d87e878a4f90ce64713c76e5a
16 changes: 1 addition & 15 deletions trunk/net/irda/ircomm/ircomm_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,21 +568,7 @@ static void ircomm_tty_close(struct tty_struct *tty, struct file *filp)
tty_driver_flush_buffer(tty);
tty_ldisc_flush(tty);

spin_lock_irqsave(&port->lock, flags);
tty->closing = 0;

if (port->blocked_open) {
if (port->close_delay) {
spin_unlock_irqrestore(&port->lock, flags);
schedule_timeout_interruptible(port->close_delay);
spin_lock_irqsave(&port->lock, flags);
}
wake_up_interruptible(&port->open_wait);
}

port->flags &= ~(ASYNC_NORMAL_ACTIVE|ASYNC_CLOSING);
spin_unlock_irqrestore(&port->lock, flags);
wake_up_interruptible(&port->close_wait);
tty_port_close_end(port, tty);
tty_port_tty_set(port, NULL);
}

Expand Down

0 comments on commit e5305ff

Please sign in to comment.