VirtualBox

Changeset 27936 in vbox


Ignore:
Timestamp:
Apr 1, 2010 1:03:49 PM (15 years ago)
Author:
vboxsync
Message:

pdmR3PowerOffDev: Fixed copy & past error that prevented PDMDEVREG::pfnPowerOff from being called on drivers without a pfnSuspend callback.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDM.cpp

    r27928 r27936  
    17161716    {
    17171717        pDevIns->Internal.s.fIntFlags |= PDMDEVINSINT_FLAGS_SUSPENDED;
    1718         if (pDevIns->pReg->pfnSuspend)
     1718        if (pDevIns->pReg->pfnPowerOff)
    17191719        {
    17201720            if (!pDevIns->Internal.s.pfnAsyncNotify)
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