diff options
Diffstat (limited to 'drivers/char/pcxx.c')
-rw-r--r-- | drivers/char/pcxx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/pcxx.c b/drivers/char/pcxx.c index 9fe8bcc23..b1c1bb3e3 100644 --- a/drivers/char/pcxx.c +++ b/drivers/char/pcxx.c @@ -633,8 +633,7 @@ static void pcxe_close(struct tty_struct * tty, struct file * filp) if(info->blocked_open) { if(info->close_delay) { current->state = TASK_INTERRUPTIBLE; - current->timeout = jiffies + info->close_delay; - schedule(); + schedule_timeout(info->close_delay); } wake_up_interruptible(&info->open_wait); } |