X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/94ff46dc2849db4d43eaaf144872decc522aafb4..4ba76501152d51ccb5647018f3192c6096367d48:/iokit/Kernel/IOPMrootDomain.cpp diff --git a/iokit/Kernel/IOPMrootDomain.cpp b/iokit/Kernel/IOPMrootDomain.cpp index 624d7a812..c1114f9ec 100644 --- a/iokit/Kernel/IOPMrootDomain.cpp +++ b/iokit/Kernel/IOPMrootDomain.cpp @@ -9883,7 +9883,7 @@ IOPMrootDomain::acceptSystemWakeEvents( bool accept ) } _acceptSystemWakeEvents = (_systemWakeEventsArray != NULL); #if !(defined(RC_HIDE_N144) || defined(RC_HIDE_N146)) - if (!(kIOPMWakeEventAOTExitFlags & _aotPendingFlags)) + if (!(_aotNow && (kIOPMWakeEventAOTExitFlags & _aotPendingFlags))) #endif /* !(defined(RC_HIDE_N144) || defined(RC_HIDE_N146)) */ { gWakeReasonString[0] = '\0';