Messages in this thread Patch in this message |  | | | Date | Sun, 7 Nov 2004 23:13:19 +0300 | | From | Sergey Vlasov <> | | Subject | [PATCH] Add back lost call to tty->driver.set_termios | |
The call to tty->driver.set_termios in change_termios() has been lost;
after termios locking changes it can be put back safely.
--- kernel-source-2.4.27/drivers/char/tty_ioctl.c.set_termios 2004-11-07 18:28:12 +0300
+++ kernel-source-2.4.27/drivers/char/tty_ioctl.c 2004-11-07 21:44:36 +0300
@@ -138,6 +138,9 @@ static void change_termios(struct tty_st
}
}
+ if (tty->driver.set_termios)
+ (*tty->driver.set_termios)(tty, &old_termios);
+
ld = tty_ldisc_ref(tty);
if (ld != NULL) {
if (ld->set_termios)[unhandled content-type:application/pgp-signature] |  |