diff options
author | Alexander Holler <holler@ahsoftware.de> | 2011-01-27 22:50:07 +0100 |
---|---|---|
committer | Remy Bohmer <linux@bohmer.net> | 2011-02-05 13:54:51 +0100 |
commit | cb44091fdfa1170f9c0a0a1d3396d6472fbf8911 (patch) | |
tree | 076ac8d485382a1f5df27d365992c1938389adaf /common/usb.c | |
parent | f69b980d108b5f15ca7dd3f4284d5a66488c3625 (diff) |
USB: Fix device stati for removable and powerctrl (typo)
I currently don't know if the error could have other consequences
than a wrong output when turning debug on.
Signed-off-by: Alexander Holler <holler@ahsoftware.de>
Diffstat (limited to 'common/usb.c')
-rw-r--r-- | common/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usb.c b/common/usb.c index 10e23de6a41..aa28de028fc 100644 --- a/common/usb.c +++ b/common/usb.c @@ -1220,7 +1220,7 @@ int usb_hub_configure(struct usb_device *dev) hub->desc.DeviceRemovable[i] = descriptor->DeviceRemovable[i]; for (i = 0; i < ((hub->desc.bNbrPorts + 1 + 7)/8); i++) - hub->desc.DeviceRemovable[i] = descriptor->PortPowerCtrlMask[i]; + hub->desc.PortPowerCtrlMask[i] = descriptor->PortPowerCtrlMask[i]; dev->maxchild = descriptor->bNbrPorts; USB_HUB_PRINTF("%d ports detected\n", dev->maxchild); |