TTY: use tty_wait_until_sent_from_close in other drivers
[deliverable/linux.git] / net / irda / ircomm / ircomm_tty.c
index b3cc8b3989a9cf17d032150d201e8ab90f3bd2c7..253695d43fd9db61d674646f36fdb1cc796e521d 100644 (file)
@@ -551,7 +551,7 @@ static void ircomm_tty_close(struct tty_struct *tty, struct file *filp)
         */
        tty->closing = 1;
        if (self->closing_wait != ASYNC_CLOSING_WAIT_NONE)
-               tty_wait_until_sent(tty, self->closing_wait);
+               tty_wait_until_sent_from_close(tty, self->closing_wait);
 
        ircomm_tty_shutdown(self);
 
This page took 0.025604 seconds and 5 git commands to generate.