From: Alan Cox Date: Thu, 18 Oct 2007 08:24:22 +0000 (-0700) Subject: USB: sierra: termios X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ed1f12ec50224222be9cc494cb72b4322bbacd7f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git USB: sierra: termios No hardware termios setting in this case so keep the old settings Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c index 959b3e4e9077..833f6e1e3721 100644 --- a/drivers/usb/serial/sierra.c +++ b/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); }