Changeset 54464f6a in mainline for uspace/drv/bus/usb/usbmast/bo_trans.c
- Timestamp:
- 2011-11-11T19:48:33Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 50a01a9
- Parents:
- c2e50d7 (diff), 747ef72 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbmast/bo_trans.c
rc2e50d7 r54464f6a 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.