VirtualBox

Ignore:
Timestamp:
Aug 24, 2015 7:40:25 PM (9 years ago)
Author:
vboxsync
Message:

VUSBDevice: Don't set the device state to POWERED unless the device is in the DEFAULT state or we run into debug assertions when the device is in the RESETTING state

File:
1 edited

Legend:

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

    r57442 r57515  
    10251025        {
    10261026            vusbDevAddressUnHash(pRh->pDefaultAddress);
    1027             vusbDevSetState(pRh->pDefaultAddress, VUSB_DEVICE_STATE_POWERED);
     1027            vusbDevSetStateCmp(pRh->pDefaultAddress, VUSB_DEVICE_STATE_POWERED, VUSB_DEVICE_STATE_DEFAULT);
    10281028            Log(("2 DEFAULT ADDRS\n"));
    10291029        }
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