Changes in / [d91645ab:3f3afb9] in mainline


Ignore:
File:
1 edited

Legend:

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

    rd91645ab r3f3afb9  
    247247        for (port = 0; port < hub_info->port_count + 1; port++) {
    248248                usb_hub_port_init(&hub_info->ports[port]);
     249        }
     250        for (port = 0; port < hub_info->port_count; port++) {
     251                opResult = usb_hub_set_port_feature(hub_info->control_pipe,
     252                    port+1, USB_HUB_FEATURE_PORT_POWER);
     253                if (opResult != EOK) {
     254                        usb_log_error("cannot power on port %d;  %d\n",
     255                            port+1, opResult);
     256                }
    249257        }
    250258        usb_log_debug2("freeing data\n");
Note: See TracChangeset for help on using the changeset viewer.