]> err.no Git - linux-2.6/commitdiff
USB: sierra: termios
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Thu, 18 Oct 2007 08:24:22 +0000 (01:24 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Oct 2007 19:18:42 +0000 (12:18 -0700)
No hardware termios setting in this case so keep the old settings

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/sierra.c

index 959b3e4e90774faf1a44815b6c6b19df0fedc336..833f6e1e37213e359a628fbd8d82ec22b8a3afad 100644 (file)
@@ -224,7 +224,7 @@ static void sierra_set_termios(struct usb_serial_port *port,
                        struct ktermios *old_termios)
 {
        dbg("%s", __FUNCTION__);
-
+       tty_termios_copy_hw(port->tty->termios, old_termios);
        sierra_send_setup(port);
 }