Changes in uspace/drv/bus/usb/usbmast/bo_trans.c [b77931d:de3432b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbmast/bo_trans.c
rb77931d rde3432b 67 67 int retval = EOK; 68 68 size_t act_size; 69 usb_pipe_t *bulk_in_pipe = &mfun->mdev->usb_dev->pipes[BULK_IN_EP].pipe;70 usb_pipe_t *bulk_out_pipe = &mfun->mdev->usb_dev->pipes[BULK_OUT_EP].pipe;69 usb_pipe_t *bulk_in_pipe = mfun->mdev->usb_dev->pipes[BULK_IN_EP].pipe; 70 usb_pipe_t *bulk_out_pipe = mfun->mdev->usb_dev->pipes[BULK_OUT_EP].pipe; 71 71 usb_direction_t ddir; 72 72 void *dbuf; … … 118 118 if (ddir == USB_DIRECTION_IN) { 119 119 usb_pipe_clear_halt(&mfun->mdev->usb_dev->ctrl_pipe, 120 &mfun->mdev->usb_dev->pipes[BULK_IN_EP].pipe);120 mfun->mdev->usb_dev->pipes[BULK_IN_EP].pipe); 121 121 } else { 122 122 usb_pipe_clear_halt(&mfun->mdev->usb_dev->ctrl_pipe, 123 &mfun->mdev->usb_dev->pipes[BULK_OUT_EP].pipe);123 mfun->mdev->usb_dev->pipes[BULK_OUT_EP].pipe); 124 124 } 125 125 } else if (rc != EOK) { … … 216 216 usb_massstor_reset(mdev); 217 217 usb_pipe_clear_halt(&mdev->usb_dev->ctrl_pipe, 218 &mdev->usb_dev->pipes[BULK_IN_EP].pipe);218 mdev->usb_dev->pipes[BULK_IN_EP].pipe); 219 219 usb_pipe_clear_halt(&mdev->usb_dev->ctrl_pipe, 220 &mdev->usb_dev->pipes[BULK_OUT_EP].pipe);220 mdev->usb_dev->pipes[BULK_OUT_EP].pipe); 221 221 } 222 222
Note:
See TracChangeset
for help on using the changeset viewer.