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

Commit 02803542 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman
Browse files

USB: usb_wwan: remove redundant modem-control request



The tty-port implementation has already made sure that DTR/RTS have been
raised by calling dtr_rts so remove the redundant call from open.

Signed-off-by: default avatarJohan Hovold <jhovold@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c1c01803
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -408,9 +408,6 @@ int usb_wwan_open(struct tty_struct *tty, struct usb_serial_port *port)
		}
	}

	if (intfdata->send_setup)
		intfdata->send_setup(port);

	spin_lock_irq(&intfdata->susp_lock);
	portdata->opened = 1;
	if (++intfdata->open_ports == 1)