Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/host/batch.c

    r4fd3faf rf567bcf  
    7979        instance->error = EOK;
    8080        instance->ep = ep;
    81         endpoint_use(instance->ep);
    8281}
    8382/*----------------------------------------------------------------------------*/
     
    8786 *
    8887 */
    89 void usb_transfer_batch_finish(usb_transfer_batch_t *instance)
     88void usb_transfer_batch_finish(usb_transfer_batch_t *instance, int error)
    9089{
    9190        assert(instance);
    92         assert(instance->ep);
    93         endpoint_release(instance->ep);
     91        instance->error = error;
    9492        instance->next_step(instance);
    9593}
Note: See TracChangeset for help on using the changeset viewer.