X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..36401178fd6817c043cc00b0c00c7f723e58efae:/iokit/Kernel/IOInterruptEventSource.cpp diff --git a/iokit/Kernel/IOInterruptEventSource.cpp b/iokit/Kernel/IOInterruptEventSource.cpp index 722188c2c..4bfd27786 100644 --- a/iokit/Kernel/IOInterruptEventSource.cpp +++ b/iokit/Kernel/IOInterruptEventSource.cpp @@ -149,6 +149,7 @@ void IOInterruptEventSource::enable() if (provider && intIndex != -1) { provider->enableInterrupt(intIndex); explicitDisable = false; + enabled = true; } } @@ -157,6 +158,7 @@ void IOInterruptEventSource::disable() if (provider && intIndex != -1) { provider->disableInterrupt(intIndex); explicitDisable = true; + enabled = false; } }