From 4585a6dbb05cb35e3cdf706e7d10f9ad8f4e8884 Mon Sep 17 00:00:00 2001 From: Alan Stern Date: Tue, 20 Apr 2010 10:37:57 -0400 Subject: [PATCH] --- yaml --- r: 190455 b: refs/heads/master c: fcf7d2141f4a363a4a8454c4a0f26bb69e766c5f h: refs/heads/master i: 190453: 6a0de29784c4b663575df8bf965d07f9881a5672 190451: 9b34730a8ea6515f00a41fe3cb9c53af24807460 190447: 821c8e620d7c7af36244266854effd0c3f6f2df9 v: v3 --- [refs] | 2 +- trunk/drivers/usb/host/ohci-hub.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index faf57805977b..1477dcc35e9a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 62f9cfa3ece58268b3e92ca59c23b175f86205aa +refs/heads/master: fcf7d2141f4a363a4a8454c4a0f26bb69e766c5f diff --git a/trunk/drivers/usb/host/ohci-hub.c b/trunk/drivers/usb/host/ohci-hub.c index 32bbce9718f0..65cac8cc8921 100644 --- a/trunk/drivers/usb/host/ohci-hub.c +++ b/trunk/drivers/usb/host/ohci-hub.c @@ -697,7 +697,7 @@ static int ohci_hub_control ( u16 wLength ) { struct ohci_hcd *ohci = hcd_to_ohci (hcd); - int ports = hcd_to_bus (hcd)->root_hub->maxchild; + int ports = ohci->num_ports; u32 temp; int retval = 0;