Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/batch.c

    ra963a68 r17ceb72  
    153153}
    154154/*----------------------------------------------------------------------------*/
    155 /** Mark batch as failed and continue with next step.
    156  *
    157  * @param[in] instance Batch structure to use.
    158  *
    159  */
    160 void batch_abort(batch_t *instance)
    161 {
    162         assert(instance);
    163         instance->error = EIO;
    164         instance->next_step(instance);
    165 }
    166 /*----------------------------------------------------------------------------*/
    167155/** Check batch TDs for activity.
    168156 *
     
    263251        assert(instance);
    264252        /* We are data out, we are supposed to provide data */
    265         memcpy(instance->transport_buffer, instance->buffer,
    266             instance->buffer_size);
     253        memcpy(instance->transport_buffer, instance->buffer, instance->buffer_size);
    267254        batch_data(instance, USB_PID_OUT);
    268255        instance->next_step = batch_call_out_and_dispose;
     
    294281        assert(instance);
    295282        /* We are data out, we are supposed to provide data */
    296         memcpy(instance->transport_buffer, instance->buffer,
    297             instance->buffer_size);
     283        memcpy(instance->transport_buffer, instance->buffer, instance->buffer_size);
    298284        batch_data(instance, USB_PID_OUT);
    299285        instance->next_step = batch_call_out_and_dispose;
Note: See TracChangeset for help on using the changeset viewer.