Changeset 58226b4 in mainline


Ignore:
Timestamp:
2011-04-11T20:19:35Z (14 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3f3afb9
Parents:
b79c31f9
Message:

forgotten port powering

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhub/usbhub.c

    rb79c31f9 r58226b4  
    266266        for (port = 0; port < hub_info->port_count + 1; port++) {
    267267                usb_hub_port_init(&hub_info->ports[port]);
     268                opResult = usb_hub_set_port_feature(hub_info->control_pipe,
     269                    port, USB_HUB_FEATURE_PORT_POWER);
     270                if (opResult != EOK) {
     271                        usb_log_error("cannot power on port %d;  %d\n",
     272                            port, opResult);
     273                }
    268274        }
    269275        usb_log_debug2("freeing data\n");
Note: See TracChangeset for help on using the changeset viewer.