Changeset 89c7d7d in mainline


Ignore:
Timestamp:
2018-01-28T23:28:52Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bb655dab
Parents:
bf0398c
Message:

xhci: fixed missing error path in device_enumerate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/device.c

    rbf0398c r89c7d7d  
    236236
    237237err_address:
     238        bus_endpoint_remove(xhci_dev->base.endpoints[0]);
     239        bus->devices_by_slot[xhci_dev->slot_id] = NULL;
     240        hc_disable_slot(xhci_dev);
    238241        return err;
    239242}
Note: See TracChangeset for help on using the changeset viewer.