Changeset 62f8025 in mainline for uspace/drv/bus/usb/xhci/bus.c


Ignore:
Timestamp:
2017-10-28T22:47:06Z (6 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
Children:
9620a54
Parents:
6b2930b
Message:

Centrally disabled deallocation of endpoint-related data structures due to memory corruption. This is better than commenting out every single usage.

File:
1 edited

Legend:

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

    r6b2930b r62f8025  
    439439        /* Tear down TRB ring / PSA. */
    440440        /* TODO: Make this method "noexcept" */
    441         /* FIXME: There is some memory corruption going on, causing this to crash. */
    442         /*if ((err = xhci_endpoint_free_transfer_ds(ep))) {
     441        if ((err = xhci_endpoint_free_transfer_ds(ep))) {
    443442                usb_log_error("Failed to free resources of an endpoint.");
    444         }*/
     443        }
    445444
    446445        return EOK;
Note: See TracChangeset for help on using the changeset viewer.