Ignore:
File:
1 edited

Legend:

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

    r5ab4a48 r3954a63b  
    125125        }
    126126       
     127        /* Open the control pipe. */
     128        rc = usb_pipe_start_session(&dev->ctrl_pipe);
     129        if (rc != EOK) {
     130                goto leave;
     131        }
     132       
    127133        /* Set the boot protocol. */
    128134        rc = usb_control_request_set(&dev->ctrl_pipe,
     
    134140        }
    135141       
    136         /* Everything all right. */
     142        /* Close the control pipe (ignore errors). */
     143        usb_pipe_end_session(&dev->ctrl_pipe);
     144
     145
     146        /* Everything allright. */
    137147        dev->driver_data = mouse;
    138148        mouse->mouse_fun->driver_data = mouse;
Note: See TracChangeset for help on using the changeset viewer.