Changeset c6394aa in mainline for uspace/lib/usb/src/devdrv.c


Ignore:
Timestamp:
2011-04-09T16:56:51Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
77223f8
Parents:
b6c9e1e (diff), 5410c04 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge development/ changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/devdrv.c

    rb6c9e1e rc6394aa  
    161161
    162162        /*
    163          * For further actions, we need open session on default control pipe.
     163         * We will do some querying of the device, it is worth to prepare
     164         * the long transfer.
    164165         */
    165         rc = usb_pipe_start_session(&dev->ctrl_pipe);
    166         if (rc != EOK) {
    167                 usb_log_error("Failed to start an IPC session: %s.\n",
     166        rc = usb_pipe_start_long_transfer(&dev->ctrl_pipe);
     167        if (rc != EOK) {
     168                usb_log_error("Failed to start transfer: %s.\n",
    168169                    str_error(rc));
    169170                return rc;
     
    185186        }
    186187
    187         /* No checking here. */
    188         usb_pipe_end_session(&dev->ctrl_pipe);
     188        usb_pipe_end_long_transfer(&dev->ctrl_pipe);
    189189
    190190        /* Rollback actions. */
Note: See TracChangeset for help on using the changeset viewer.