Changeset 3ac86a4 in mainline


Ignore:
Timestamp:
2018-01-22T22:15:21Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7278cbc9
Parents:
34d750c
Message:

uhci: fix removal of isochronous endpoints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/hc.c

    r34d750c r3ac86a4  
    344344
    345345        transfer_list_t *list = hc->transfers[ep->device->speed][ep->transfer_type];
    346         assert(list);
     346
     347        if (!list)
     348                /*
     349                 * We don't support this combination (e.g. isochronous),
     350                 * so no transfer can be active.
     351                 */
     352                return;
    347353
    348354        // To avoid ABBA deadlock, we need to take the list first
Note: See TracChangeset for help on using the changeset viewer.