Changeset a4e26882 in mainline for uspace/drv/bus/usb/xhci/endpoint.c


Ignore:
Timestamp:
2017-10-22T16:37:44Z (7 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4594baa
Parents:
2c091a6
Message:

Very rudimentary support for device disconnection.

File:
1 edited

Legend:

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

    r2c091a6 ra4e26882  
    182182        assert(ep);
    183183
     184        /* Offline devices don't create new endpoints other than EP0. */
     185        if (!dev->online) {
     186                return EAGAIN;
     187        }
     188
    184189        int err = ENOMEM;
    185190        const usb_endpoint_t ep_num = ep->base.target.endpoint;
Note: See TracChangeset for help on using the changeset viewer.