TTY: do not reset master's packet mode
[pandora-kernel.git] / drivers / tty / pty.c
index e18604b..d19b879 100644 (file)
@@ -49,7 +49,6 @@ static void pty_close(struct tty_struct *tty, struct file *filp)
        tty->packet = 0;
        if (!tty->link)
                return;
-       tty->link->packet = 0;
        set_bit(TTY_OTHER_CLOSED, &tty->link->flags);
        wake_up_interruptible(&tty->link->read_wait);
        wake_up_interruptible(&tty->link->write_wait);