Changeset 2ca5a198 in mainline for uspace/drv/bus/usb/ohci


Ignore:
Timestamp:
2018-01-31T22:45:41Z (8 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
73a5857
Parents:
0247bd2
Message:

usb: fix some errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/ohci_batch.c

    r0247bd2 r2ca5a198  
    149149                memcpy(ohci_batch->device_buffer, usb_batch->setup.buffer, setup_size);
    150150                /* Copy generic data */
    151                 if (usb_batch->ep->direction != USB_DIRECTION_IN)
     151                if (usb_batch->dir == USB_DIRECTION_OUT)
    152152                        memcpy(
    153153                            ohci_batch->device_buffer + setup_size,
Note: See TracChangeset for help on using the changeset viewer.