Changeset c6394aa in mainline for uspace/lib/usb/src/devdrv.c
- Timestamp:
- 2011-04-09T16:56:51Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 77223f8
- Parents:
- b6c9e1e (diff), 5410c04 (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/lib/usb/src/devdrv.c
rb6c9e1e rc6394aa 161 161 162 162 /* 163 * For further actions, we need open session on default control pipe. 163 * We will do some querying of the device, it is worth to prepare 164 * the long transfer. 164 165 */ 165 rc = usb_pipe_start_ session(&dev->ctrl_pipe);166 if (rc != EOK) { 167 usb_log_error("Failed to start an IPC session: %s.\n",166 rc = usb_pipe_start_long_transfer(&dev->ctrl_pipe); 167 if (rc != EOK) { 168 usb_log_error("Failed to start transfer: %s.\n", 168 169 str_error(rc)); 169 170 return rc; … … 185 186 } 186 187 187 /* No checking here. */ 188 usb_pipe_end_session(&dev->ctrl_pipe); 188 usb_pipe_end_long_transfer(&dev->ctrl_pipe); 189 189 190 190 /* Rollback actions. */
Note:
See TracChangeset
for help on using the changeset viewer.