Explorar el Código

USB: sierra: termios

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>
Alan Cox hace 17 años
padre
commit
ed1f12ec50
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/usb/serial/sierra.c

+ 1 - 1
drivers/usb/serial/sierra.c

@@ -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);
 }