Changes in uspace/lib/usb/src/devpoll.c [3954a63b:4bf94df] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/devpoll.c
r3954a63b r4bf94df 64 64 assert(polling_data); 65 65 66 usb_ pipe_t *pipe66 usb_endpoint_pipe_t *pipe 67 67 = polling_data->dev->pipes[polling_data->pipe_index].pipe; 68 68 … … 71 71 int rc; 72 72 73 rc = usb_ pipe_start_session(pipe);73 rc = usb_endpoint_pipe_start_session(pipe); 74 74 if (rc != EOK) { 75 75 failed_attempts++; … … 78 78 79 79 size_t actual_size; 80 rc = usb_ pipe_read(pipe, polling_data->buffer,80 rc = usb_endpoint_pipe_read(pipe, polling_data->buffer, 81 81 polling_data->request_size, &actual_size); 82 82 83 83 /* Quit the session regardless of errors. */ 84 usb_ pipe_end_session(pipe);84 usb_endpoint_pipe_end_session(pipe); 85 85 86 86 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.