VirtualBox

Ignore:
Timestamp:
Apr 14, 2016 10:21:12 AM (9 years ago)
Author:
vboxsync
Message:

Forgot to remove redundant conditional.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbRt.cpp

    r60486 r60487  
    10781078            case USBSUP_TRANSFER_TYPE_MSG:
    10791079                pUrbInfo->len = pUrb->UrbControlTransfer.TransferBufferLength;
    1080                 if (pContext->ulTransferType == USBSUP_TRANSFER_TYPE_MSG)
    1081                 {
    1082                     /* QUSB_TRANSFER_TYPE_MSG is a control transfer, but it is special
    1083                      * the first 8 bytes of the buffer is the setup packet so the real
    1084                      * data length is therefore urb->len - 8
    1085                      */
    1086                     pUrbInfo->len += sizeof (pUrb->UrbControlTransfer.SetupPacket);
    1087                 }
     1080                /* QUSB_TRANSFER_TYPE_MSG is a control transfer, but it is special
     1081                 * the first 8 bytes of the buffer is the setup packet so the real
     1082                 * data length is therefore urb->len - 8
     1083                 */
     1084                pUrbInfo->len += sizeof (pUrb->UrbControlTransfer.SetupPacket);
    10881085                break;
    10891086            case USBSUP_TRANSFER_TYPE_ISOC:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette