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


Ignore:
Timestamp:
2011-10-31T16:46:31Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
27736cf
Parents:
062165f
Message:

libusbhost, libusbdev: Fix releasing default address.

File:
1 edited

Legend:

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

    r062165f rf37eb84  
    265265        }
    266266
    267         rc = usb_pipe_register_with_speed(&ctrl_pipe, dev_speed, 0, &hc_conn);
     267        rc = usb_pipe_register(&ctrl_pipe, 0, &hc_conn);
    268268        if (rc != EOK) {
    269269                rc = ENOTCONN;
     
    320320         */
    321321        unregister_control_endpoint_on_default_address(&hc_conn);
     322        usb_hc_unregister_device(&hc_conn, USB_ADDRESS_DEFAULT);
    322323
    323324        /*
     
    381382                usb_log_warning("%s: Failed to unregister default pipe.\n",
    382383                    __FUNCTION__);
     384        usb_hc_unregister_device(&hc_conn, USB_ADDRESS_DEFAULT);
    383385
    384386leave_release_free_address:
Note: See TracChangeset for help on using the changeset viewer.