Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361041
b: refs/heads/master
c: 2f7c069
h: refs/heads/master
i:
  361039: 277a5a2
v: v3
  • Loading branch information
Peter Hurley authored and David S. Miller committed Mar 6, 2013
1 parent 789e759 commit cc7df29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a4ed2e737cb73e4405a3649f8aef7619b99fecae
refs/heads/master: 2f7c069b96ed7b1f6236f2fa7b0bc06f4f54f2d9
4 changes: 2 additions & 2 deletions trunk/net/irda/ircomm/ircomm_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,8 @@ static int ircomm_tty_block_til_ready(struct ircomm_tty_cb *self,
spin_lock_irqsave(&port->lock, flags);
if (!tty_hung_up_p(filp))
port->count--;
spin_unlock_irqrestore(&port->lock, flags);
port->blocked_open++;
spin_unlock_irqrestore(&port->lock, flags);

while (1) {
if (tty->termios.c_cflag & CBAUD)
Expand Down Expand Up @@ -362,8 +362,8 @@ static int ircomm_tty_block_til_ready(struct ircomm_tty_cb *self,
spin_lock_irqsave(&port->lock, flags);
if (!tty_hung_up_p(filp))
port->count++;
spin_unlock_irqrestore(&port->lock, flags);
port->blocked_open--;
spin_unlock_irqrestore(&port->lock, flags);

IRDA_DEBUG(1, "%s(%d):block_til_ready after blocking on %s open_count=%d\n",
__FILE__, __LINE__, tty->driver->name, port->count);
Expand Down

0 comments on commit cc7df29

Please sign in to comment.