Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhcirh/port.c

    r6e3c005 r612af1a0  
    260260{
    261261        assert(port);
     262        assert(usb_hc_connection_is_opened(&port->hc_connection));
    262263
    263264        usb_log_debug("%s: Detected new device.\n", port->id_string);
     
    313314
    314315        /* Driver stopped, free used address */
    315         ret = usb_hub_unregister_device(&port->hc_connection,
    316             &port->attached_device);
     316        ret = usb_hc_unregister_device(&port->hc_connection,
     317            port->attached_device.address);
    317318        if (ret != EOK) {
    318319                usb_log_error("%s: Failed to unregister address of removed "
Note: See TracChangeset for help on using the changeset viewer.