USB: option: termios handling
For the devices that have no hardware settings set up the termios return properly. 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>
This commit is contained in:
parent
a6ebf80dbc
commit
e650d8ae04
1 changed files with 2 additions and 1 deletions
|
@ -313,7 +313,8 @@ static void option_set_termios(struct usb_serial_port *port,
|
||||||
struct ktermios *old_termios)
|
struct ktermios *old_termios)
|
||||||
{
|
{
|
||||||
dbg("%s", __FUNCTION__);
|
dbg("%s", __FUNCTION__);
|
||||||
|
/* Doesn't support option setting */
|
||||||
|
tty_termios_copy_hw(port->tty->termios, old_termios);
|
||||||
option_send_setup(port);
|
option_send_setup(port);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue