Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e650d8ae authored by Alan Cox's avatar Alan Cox Committed by Greg Kroah-Hartman
Browse files

USB: option: termios handling



For the devices that have no hardware settings set up the termios return
properly.

Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a6ebf80d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -313,7 +313,8 @@ static void option_set_termios(struct usb_serial_port *port,
			struct ktermios *old_termios)
{
	dbg("%s", __FUNCTION__);

	/* Doesn't support option setting */
	tty_termios_copy_hw(port->tty->termios, old_termios);
	option_send_setup(port);
}