Ignore:
File:
1 edited

Legend:

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

    r612af1a0 re882e3a  
    3737#include <str_error.h>
    3838#include <async.h>
    39 #include <devman.h>
    4039
    4140#include <usb/usb.h>    /* usb_address_t */
     
    260259{
    261260        assert(port);
    262         assert(usb_hc_connection_is_opened(&port->hc_connection));
    263261
    264262        usb_log_debug("%s: Detected new device.\n", port->id_string);
     
    314312
    315313        /* Driver stopped, free used address */
    316         ret = usb_hc_unregister_device(&port->hc_connection,
    317             port->attached_device.address);
     314        ret = usb_hub_unregister_device(&port->hc_connection,
     315            &port->attached_device);
    318316        if (ret != EOK) {
    319317                usb_log_error("%s: Failed to unregister address of removed "
Note: See TracChangeset for help on using the changeset viewer.