diff options
-rw-r--r-- | drivers/tty/n_tty.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index 5372bf0e74ab..2ba7bf86d096 100644 --- a/drivers/tty/n_tty.c +++ b/drivers/tty/n_tty.c | |||
@@ -1815,9 +1815,8 @@ static void n_tty_set_termios(struct tty_struct *tty, struct ktermios *old) | |||
1815 | * Fix tty hang when I_IXON(tty) is cleared, but the tty | 1815 | * Fix tty hang when I_IXON(tty) is cleared, but the tty |
1816 | * been stopped by STOP_CHAR(tty) before it. | 1816 | * been stopped by STOP_CHAR(tty) before it. |
1817 | */ | 1817 | */ |
1818 | if (!I_IXON(tty) && old && (old->c_iflag & IXON) && !tty->flow_stopped) { | 1818 | if (!I_IXON(tty) && old && (old->c_iflag & IXON) && !tty->flow_stopped) |
1819 | start_tty(tty); | 1819 | start_tty(tty); |
1820 | } | ||
1821 | 1820 | ||
1822 | /* The termios change make the tty ready for I/O */ | 1821 | /* The termios change make the tty ready for I/O */ |
1823 | wake_up_interruptible(&tty->write_wait); | 1822 | wake_up_interruptible(&tty->write_wait); |