[PATCH] Add back lost call to tty->driver.set_termios

From: Sergey Vlasov
Date: Sun Nov 07 2004 - 15:14:49 EST


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)

Attachment: pgp00000.pgp
Description: PGP signature