VirtualBox

Changeset 60514 in vbox for trunk/src


Ignore:
Timestamp:
Apr 15, 2016 10:01:30 AM (9 years ago)
Author:
vboxsync
Message:

VUSB: When aborting EPs, ignore direction for EP0.

File:
1 edited

Legend:

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

    r60178 r60514  
    826826        Assert(pUrb->pVUsb->pDev == pDev);
    827827
    828         if (pUrb->EndPt == EndPt && pUrb->enmDir == enmDir)
     828        /* For the default control EP, direction does not matter. */
     829        if (pUrb->EndPt == EndPt && (pUrb->enmDir == enmDir || !EndPt))
    829830        {
    830831            LogFlow(("%s: vusbRhAbortEpWorker: CANCELING URB\n", pUrb->pszDesc));
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