diff options
-rw-r--r-- | net/irda/ircomm/ircomm_tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/irda/ircomm/ircomm_tty.c b/net/irda/ircomm/ircomm_tty.c index d282bbea710e..522543d9264a 100644 --- a/net/irda/ircomm/ircomm_tty.c +++ b/net/irda/ircomm/ircomm_tty.c | |||
@@ -324,7 +324,7 @@ static int ircomm_tty_block_til_ready(struct ircomm_tty_cb *self, | |||
324 | if (tty->termios.c_cflag & CBAUD) | 324 | if (tty->termios.c_cflag & CBAUD) |
325 | tty_port_raise_dtr_rts(port); | 325 | tty_port_raise_dtr_rts(port); |
326 | 326 | ||
327 | current->state = TASK_INTERRUPTIBLE; | 327 | set_current_state(TASK_INTERRUPTIBLE); |
328 | 328 | ||
329 | if (tty_hung_up_p(filp) || | 329 | if (tty_hung_up_p(filp) || |
330 | !test_bit(ASYNCB_INITIALIZED, &port->flags)) { | 330 | !test_bit(ASYNCB_INITIALIZED, &port->flags)) { |