Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbmouse/init.c

    r054ed84 r489c3e7  
    124124                goto leave;
    125125        }
    126        
    127         /* Open the control pipe. */
    128         rc = usb_endpoint_pipe_start_session(&dev->ctrl_pipe);
    129         if (rc != EOK) {
    130                 goto leave;
    131         }
    132        
    133         /* Set the boot protocol. */
    134         rc = usb_control_request_set(&dev->ctrl_pipe,
    135             USB_REQUEST_TYPE_CLASS, USB_REQUEST_RECIPIENT_INTERFACE,
    136             USB_HIDREQ_SET_PROTOCOL, USB_HID_PROTOCOL_BOOT, dev->interface_no,
    137             NULL, 0);
    138         if (rc != EOK) {
    139                 goto leave;
    140         }
    141        
    142         /* Close the control pipe (ignore errors). */
    143         usb_endpoint_pipe_end_session(&dev->ctrl_pipe);
    144 
    145126
    146127        /* Everything allright. */
Note: See TracChangeset for help on using the changeset viewer.