]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Drivers/platform/drvAppleRootDomain/RootDomain.cpp
xnu-201.14.tar.gz
[apple/xnu.git] / iokit / Drivers / platform / drvAppleRootDomain / RootDomain.cpp
index f3373a0dc8c74bd1951105331b59e3949d108c84..7fa5e30679b0e966ec6b98a8a6c90035c3908d7f 100644 (file)
@@ -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);
+    }
 }
 
 //*********************************************************************************