X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/765c9de3b4af7c2078d16a03812ae2c7c2b24938..7b1edb791d9ca667b95988cb5638c4c88416cd17:/iokit/Drivers/platform/drvAppleRootDomain/RootDomain.cpp diff --git a/iokit/Drivers/platform/drvAppleRootDomain/RootDomain.cpp b/iokit/Drivers/platform/drvAppleRootDomain/RootDomain.cpp index f3373a0dc..7fa5e3067 100644 --- a/iokit/Drivers/platform/drvAppleRootDomain/RootDomain.cpp +++ b/iokit/Drivers/platform/drvAppleRootDomain/RootDomain.cpp @@ -733,9 +733,11 @@ void IOPMrootDomain::tellNoChangeDown ( unsigned long ) // type to the client or application being notified. //********************************************************************************* -void IOPMrootDomain::tellChangeUp ( unsigned long ) +void IOPMrootDomain::tellChangeUp ( unsigned long stateNum) { - return tellClients(kIOMessageSystemHasPoweredOn); + if ( stateNum == ON_STATE ) { + return tellClients(kIOMessageSystemHasPoweredOn); + } } //*********************************************************************************