Changeset e1dbcbc in mainline for uspace/lib/usb/src/pipesinit.c


Ignore:
Timestamp:
2011-04-29T13:43:01Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a81a1d09
Parents:
380e0364 (diff), f19f1b7 (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/pipesinit.c

    r380e0364 re1dbcbc  
    365365        pipe->direction = direction;
    366366        pipe->refcount = 0;
     367        pipe->refcount_soft = 0;
     368        pipe->auto_reset_halt = false;
    367369
    368370        return EOK;
     
    385387            0, USB_TRANSFER_CONTROL, CTRL_PIPE_MIN_PACKET_SIZE,
    386388            USB_DIRECTION_BOTH);
     389
     390        pipe->auto_reset_halt = true;
    387391
    388392        return rc;
     
    416420        int rc;
    417421
    418         rc = usb_pipe_start_long_transfer(pipe);
    419         if (rc != EOK) {
    420                 return rc;
    421         }
    422 
     422        usb_pipe_start_long_transfer(pipe);
    423423
    424424        uint8_t dev_descr_start[CTRL_PIPE_MIN_PACKET_SIZE];
Note: See TracChangeset for help on using the changeset viewer.