Changes in uspace/drv/usbmid/main.c [8efafda:fcafa04] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbmid/main.c
r8efafda rfcafa04 55 55 int rc; 56 56 57 rc = usb_pipe_start_ long_transfer(&dev->ctrl_pipe);57 rc = usb_pipe_start_session(&dev->ctrl_pipe); 58 58 if (rc != EOK) { 59 usb_log_error("Failed to start transferon control pipe: %s.\n",59 usb_log_error("Failed to start session on control pipe: %s.\n", 60 60 str_error(rc)); 61 61 return rc; … … 64 64 bool accept = usbmid_explore_device(dev); 65 65 66 usb_pipe_end_long_transfer(&dev->ctrl_pipe); 66 rc = usb_pipe_end_session(&dev->ctrl_pipe); 67 if (rc != EOK) { 68 usb_log_warning("Failed to end session on control pipe: %s.\n", 69 str_error(rc)); 70 } 67 71 68 72 if (!accept) {
Note:
See TracChangeset
for help on using the changeset viewer.