diff options
Diffstat (limited to 'drivers/usb/serial/usb_wwan.c')
-rw-r--r-- | drivers/usb/serial/usb_wwan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c index ece326ef63a0..eacc27dc4657 100644 --- a/drivers/usb/serial/usb_wwan.c +++ b/drivers/usb/serial/usb_wwan.c | |||
@@ -125,7 +125,7 @@ static int get_serial_info(struct usb_serial_port *port, | |||
125 | 125 | ||
126 | memset(&tmp, 0, sizeof(tmp)); | 126 | memset(&tmp, 0, sizeof(tmp)); |
127 | tmp.line = port->serial->minor; | 127 | tmp.line = port->serial->minor; |
128 | tmp.port = port->number; | 128 | tmp.port = port->port_number; |
129 | tmp.baud_base = tty_get_baud_rate(port->port.tty); | 129 | tmp.baud_base = tty_get_baud_rate(port->port.tty); |
130 | tmp.close_delay = port->port.close_delay / 10; | 130 | tmp.close_delay = port->port.close_delay / 10; |
131 | tmp.closing_wait = port->port.closing_wait == ASYNC_CLOSING_WAIT_NONE ? | 131 | tmp.closing_wait = port->port.closing_wait == ASYNC_CLOSING_WAIT_NONE ? |