aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-12-08 16:15:38 -0500
committerDavid S. Miller <davem@davemloft.net>2010-12-08 16:47:38 -0500
commitfe6c791570efe717946ea7b7dd50aec96b70d551 (patch)
tree1becb5e8aea7a9c9a7d78f987bd73b0a5d8ee434 /drivers/net/usb
parentf8bf5681cf15f77692c8ad8cb95d059ff7c622c9 (diff)
parentf19872575ff7819a3723154657a497d9bca66b33 (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/wireless/ath/ath9k/ar9003_eeprom.c net/llc/af_llc.c
Diffstat (limited to 'drivers/net/usb')
-rw-r--r--drivers/net/usb/hso.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c
index be8cc2a8e213..93c6b5f62ac4 100644
--- a/drivers/net/usb/hso.c
+++ b/drivers/net/usb/hso.c
@@ -2993,12 +2993,14 @@ static int hso_probe(struct usb_interface *interface,
2993 2993
2994 case HSO_INTF_BULK: 2994 case HSO_INTF_BULK:
2995 /* It's a regular bulk interface */ 2995 /* It's a regular bulk interface */
2996 if (((port_spec & HSO_PORT_MASK) == HSO_PORT_NETWORK) && 2996 if ((port_spec & HSO_PORT_MASK) == HSO_PORT_NETWORK) {
2997 !disable_net) 2997 if (!disable_net)
2998 hso_dev = hso_create_net_device(interface, port_spec); 2998 hso_dev =
2999 else 2999 hso_create_net_device(interface, port_spec);
3000 } else {
3000 hso_dev = 3001 hso_dev =
3001 hso_create_bulk_serial_device(interface, port_spec); 3002 hso_create_bulk_serial_device(interface, port_spec);
3003 }
3002 if (!hso_dev) 3004 if (!hso_dev)
3003 goto exit; 3005 goto exit;
3004 break; 3006 break;