Changes in uspace/app/usbinfo/dev.c [3954a63b:e160da4d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/dev.c
r3954a63b re160da4d 59 59 } 60 60 61 rc = usb_ pipe_initialize_default_control(&dev->ctrl_pipe,61 rc = usb_endpoint_pipe_initialize_default_control(&dev->ctrl_pipe, 62 62 &dev->wire); 63 63 if (rc != EOK) { … … 68 68 } 69 69 70 rc = usb_ pipe_probe_default_control(&dev->ctrl_pipe);70 rc = usb_endpoint_pipe_probe_default_control(&dev->ctrl_pipe); 71 71 if (rc != EOK) { 72 72 fprintf(stderr, … … 76 76 } 77 77 78 rc = usb_ pipe_start_session(&dev->ctrl_pipe);78 rc = usb_endpoint_pipe_start_session(&dev->ctrl_pipe); 79 79 if (rc != EOK) { 80 80 fprintf(stderr, … … 107 107 108 108 leave: 109 if (usb_ pipe_is_session_started(&dev->ctrl_pipe)) {110 usb_ pipe_end_session(&dev->ctrl_pipe);109 if (usb_endpoint_pipe_is_session_started(&dev->ctrl_pipe)) { 110 usb_endpoint_pipe_end_session(&dev->ctrl_pipe); 111 111 } 112 112 … … 118 118 void destroy_device(usbinfo_device_t *dev) 119 119 { 120 usb_ pipe_end_session(&dev->ctrl_pipe);120 usb_endpoint_pipe_end_session(&dev->ctrl_pipe); 121 121 free(dev); 122 122 }
Note:
See TracChangeset
for help on using the changeset viewer.