Commit:     8c1527132c25512563b197b35453c7da22b4d699
Parent:     25c77b329467d563ec1fa5c3efab0b13996ce810
Author:     Miguel Angel Alvarez <[EMAIL PROTECTED]>
AuthorDate: Thu Dec 14 19:49:35 2006 +0100
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Jan 5 12:19:08 2007 -0800

    USB: fix interaction between different interfaces in an "Option" usb device
    Just the serial port in the first interface should control DTR and RTS
    lines. This way, the closing of the rest of the ports does not produce a=
    hangup in the communication.
    Signed-off-by: Miguel Angel Alvarez <[EMAIL PROTECTED]>
    Signed-off-by: Matthias Urlichs <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
 drivers/usb/serial/option.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 819266b..5ca04e8 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -625,6 +625,9 @@ static int option_send_setup(struct usb_serial_port *port)
        dbg("%s", __FUNCTION__);
+       if (port->number != 0)
+               return 0;
        portdata = usb_get_serial_port_data(port);
        if (port->tty) {
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to