]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOServicePM.cpp
xnu-201.14.tar.gz
[apple/xnu.git] / iokit / Kernel / IOServicePM.cpp
index 5d225355d7738885dee21c21adc320fbfc4df6ab..2e762ef9c48f34bba8e0bc94c38ccc1d3fe65740 100644 (file)
@@ -3162,7 +3162,8 @@ void IOService::start_our_change ( unsigned long queue_head )
     if ( priv->head_note_state < pm_vars->myCurrentState ) {   // dropping power?
         priv->machine_state = IOPMour_prechange_03;            // yes, in case we have to wait for acks
         pm_vars->doNotPowerDown = false;
-        if ( askChangeDown(priv->head_note_state) ) {                  // ask apps and kernel clients if we can drop power
+        pm_vars->outofbandparameter = kNotifyApps;             // ask apps and kernel clients if we can drop power
+        if ( askChangeDown(priv->head_note_state) ) {
             if ( pm_vars->doNotPowerDown ) {                   // don't have to wait, did any clients veto?
                 tellNoChangeDown(priv->head_note_state);       // yes, rescind the warning
                 priv-> head_note_flags |= IOPMNotDone;         // mark the change note un-actioned