diff options
Diffstat (limited to 'drivers/net/usb/hso.c')
-rw-r--r-- | drivers/net/usb/hso.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c index d974d970e5fd..148af34837f0 100644 --- a/drivers/net/usb/hso.c +++ b/drivers/net/usb/hso.c | |||
@@ -2663,7 +2663,7 @@ static struct hso_device *hso_create_bulk_serial_device( | |||
2663 | serial->parent = hso_dev; | 2663 | serial->parent = hso_dev; |
2664 | hso_dev->port_data.dev_serial = serial; | 2664 | hso_dev->port_data.dev_serial = serial; |
2665 | 2665 | ||
2666 | if (port & HSO_PORT_MODEM) { | 2666 | if ((port & HSO_PORT_MASK) == HSO_PORT_MODEM) { |
2667 | num_urbs = 2; | 2667 | num_urbs = 2; |
2668 | serial->tiocmget = kzalloc(sizeof(struct hso_tiocmget), | 2668 | serial->tiocmget = kzalloc(sizeof(struct hso_tiocmget), |
2669 | GFP_KERNEL); | 2669 | GFP_KERNEL); |