Changeset 77223f8 in mainline


Ignore:
Timestamp:
2011-04-09T17:12:09Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0748854, a9d67aa
Parents:
c6394aa
Message:

Client does not send max packet size

Let's pretend this commit appeared about 10 revisions earlier ;-).

File:
1 edited

Legend:

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

    rc6394aa r77223f8  
    8585         * Make call identifying target USB device and type of transfer.
    8686         */
    87         aid_t opening_request = async_send_4(pipe->hc_phone,
     87        aid_t opening_request = async_send_3(pipe->hc_phone,
    8888            DEV_IFACE_ID(USBHC_DEV_IFACE), ipc_method,
    8989            pipe->wire->address, pipe->endpoint_no,
    90             pipe->max_packet_size,
    9190            NULL);
    9291        if (opening_request == 0) {
     
    232231         * Make call identifying target USB device and type of transfer.
    233232         */
    234         aid_t opening_request = async_send_4(pipe->hc_phone,
     233        aid_t opening_request = async_send_3(pipe->hc_phone,
    235234            DEV_IFACE_ID(USBHC_DEV_IFACE), ipc_method,
    236235            pipe->wire->address, pipe->endpoint_no,
    237             pipe->max_packet_size,
    238236            NULL);
    239237        if (opening_request == 0) {
     
    331329         * Make call identifying target USB device and control transfer type.
    332330         */
    333         aid_t opening_request = async_send_4(pipe->hc_phone,
     331        aid_t opening_request = async_send_3(pipe->hc_phone,
    334332            DEV_IFACE_ID(USBHC_DEV_IFACE), IPC_M_USBHC_CONTROL_READ,
    335333            pipe->wire->address, pipe->endpoint_no,
    336             pipe->max_packet_size,
    337334            NULL);
    338335        if (opening_request == 0) {
     
    473470         * Make call identifying target USB device and control transfer type.
    474471         */
    475         aid_t opening_request = async_send_5(pipe->hc_phone,
     472        aid_t opening_request = async_send_4(pipe->hc_phone,
    476473            DEV_IFACE_ID(USBHC_DEV_IFACE), IPC_M_USBHC_CONTROL_WRITE,
    477474            pipe->wire->address, pipe->endpoint_no,
    478475            data_buffer_size,
    479             pipe->max_packet_size,
    480476            NULL);
    481477        if (opening_request == 0) {
Note: See TracChangeset for help on using the changeset viewer.