VirtualBox

Changeset 59282 in vbox for trunk/src/VBox/Devices/USB


Ignore:
Timestamp:
Jan 7, 2016 7:23:39 PM (9 years ago)
Author:
vboxsync
Message:

OHCI: Fixed nonsensical conditional.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/DevOHCI.cpp

    r59113 r59282  
    28472847        ohciBufInit(&pCur->Buf, pCur->Td.cbp, pCur->Td.be);
    28482848
    2849         /* don't combine if the direction doesn't match up. */
     2849        /* Don't combine if the direction doesn't match up. There can't actually be
     2850         * a mismatch for bulk/interrupt EPs unless the guest is buggy.
     2851         */
    28502852        if (    (pCur->Td.hwinfo & (TD_HWINFO_DIR))
    2851             !=  (pCur->Td.hwinfo & (TD_HWINFO_DIR)))
     2853            !=  (Head.Td.hwinfo & (TD_HWINFO_DIR)))
    28522854            break;
    28532855
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