Эх сурвалжийг харах

f81232: correct stubbed termios handler

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Alan Cox 13 жил өмнө
parent
commit
c97ce27690

+ 1 - 0
drivers/usb/serial/f81232.c

@@ -177,6 +177,7 @@ static void f81232_set_termios(struct tty_struct *tty,
 		return;
 		return;
 
 
 	/* Do the real work here... */
 	/* Do the real work here... */
+	tty_termios_copy_hw(&tty->termios, old_termios);
 }
 }
 
 
 static int f81232_tiocmget(struct tty_struct *tty)
 static int f81232_tiocmget(struct tty_struct *tty)