Changeset 2179cf95 in mainline for uspace/lib/usbdev/src/hub.c


Ignore:
Timestamp:
2011-11-04T21:55:48Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
37e4025
Parents:
3238506
Message:

libusbdev: usb_device_register_child_in_devman takes open control pipe.

Instead of doing all the initialization again.

File:
1 edited

Legend:

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

    r3238506 r2179cf95  
    348348        /* FIXME: create device_register that will get opened ctrl pipe. */
    349349        ddf_fun_t *child_fun;
    350         rc = usb_device_register_child_in_devman(dev_addr, dev_conn.hc_handle,
     350        rc = usb_device_register_child_in_devman(&ctrl_pipe,
    351351            parent, dev_ops, new_dev_data, &child_fun);
    352352        if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.