diff options
-rw-r--r-- | 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 819266b7e2f8..5ca04e82ea19 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) | |||
625 | 625 | ||
626 | dbg("%s", __FUNCTION__); | 626 | dbg("%s", __FUNCTION__); |
627 | 627 | ||
628 | if (port->number != 0) | ||
629 | return 0; | ||
630 | |||
628 | portdata = usb_get_serial_port_data(port); | 631 | portdata = usb_get_serial_port_data(port); |
629 | 632 | ||
630 | if (port->tty) { | 633 | if (port->tty) { |