Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/hub.c

    r56fd7cf r77ad86c  
    6363                return EBADMEM;
    6464        return usb_hc_bind_address(connection,
    65             attached_device->address, ddf_fun_get_handle(attached_device->fun));
     65            attached_device->address, attached_device->fun->handle);
    6666}
    6767
     
    287287        rc = usb_hub_register_device(hc_conn, &new_device);
    288288        if (rc != EOK) {
     289                /* We know nothing about that data. */
     290                if (new_dev_data)
     291                        child_fun->driver_data = NULL;
    289292                /* The child function is already created. */
    290293                ddf_fun_destroy(child_fun);
Note: See TracChangeset for help on using the changeset viewer.