]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOInterruptEventSource.cpp
xnu-1228.15.4.tar.gz
[apple/xnu.git] / iokit / Kernel / IOInterruptEventSource.cpp
index 722188c2c58d602bcbd580f513de38fe323b9e17..4bfd27786095e9a431de72e13ceee18f24aae0a0 100644 (file)
@@ -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;
     }
 }