X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/765c9de3b4af7c2078d16a03812ae2c7c2b24938..7b1edb791d9ca667b95988cb5638c4c88416cd17:/iokit/Kernel/IOServicePM.cpp diff --git a/iokit/Kernel/IOServicePM.cpp b/iokit/Kernel/IOServicePM.cpp index 5d225355d..2e762ef9c 100644 --- a/iokit/Kernel/IOServicePM.cpp +++ b/iokit/Kernel/IOServicePM.cpp @@ -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