]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
f81232: correct stubbed termios handler
authorAlan Cox <alan@linux.intel.com>
Sat, 14 Jul 2012 14:32:10 +0000 (15:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2012 20:06:09 +0000 (13:06 -0700)
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/f81232.c

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