Changes in uspace/drv/usbmouse/init.c [5ab4a48:3954a63b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbmouse/init.c
r5ab4a48 r3954a63b 125 125 } 126 126 127 /* Open the control pipe. */ 128 rc = usb_pipe_start_session(&dev->ctrl_pipe); 129 if (rc != EOK) { 130 goto leave; 131 } 132 127 133 /* Set the boot protocol. */ 128 134 rc = usb_control_request_set(&dev->ctrl_pipe, … … 134 140 } 135 141 136 /* Everything all right. */ 142 /* Close the control pipe (ignore errors). */ 143 usb_pipe_end_session(&dev->ctrl_pipe); 144 145 146 /* Everything allright. */ 137 147 dev->driver_data = mouse; 138 148 mouse->mouse_fun->driver_data = mouse;
Note:
See TracChangeset
for help on using the changeset viewer.