Ignore:
File:
1 edited

Legend:

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

    re882e3a r612af1a0  
    3737#include <str_error.h>
    3838#include <async.h>
     39#include <devman.h>
    3940
    4041#include <usb/usb.h>    /* usb_address_t */
     
    259260{
    260261        assert(port);
     262        assert(usb_hc_connection_is_opened(&port->hc_connection));
    261263
    262264        usb_log_debug("%s: Detected new device.\n", port->id_string);
     
    312314
    313315        /* Driver stopped, free used address */
    314         ret = usb_hub_unregister_device(&port->hc_connection,
    315             &port->attached_device);
     316        ret = usb_hc_unregister_device(&port->hc_connection,
     317            port->attached_device.address);
    316318        if (ret != EOK) {
    317319                usb_log_error("%s: Failed to unregister address of removed "
Note: See TracChangeset for help on using the changeset viewer.