Loading...
iokit/Kernel/IOInterruptEventSource.cpp xnu-792.22.5 xnu-1228
--- xnu/xnu-792.22.5/iokit/Kernel/IOInterruptEventSource.cpp
+++ xnu/xnu-1228/iokit/Kernel/IOInterruptEventSource.cpp
@@ -149,6 +149,7 @@
     if (provider && intIndex != -1) {
         provider->enableInterrupt(intIndex);
         explicitDisable = false;
+        enabled = true;
     }
 }
 
@@ -157,6 +158,7 @@
     if (provider && intIndex != -1) {
         provider->disableInterrupt(intIndex);
         explicitDisable = true;
+        enabled = false;
     }
 }