mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 00:40:26 +08:00
[NTOS:IO] IoDisconnectInterrupt(): Fix disconnecting other interrupts (#6503)
Addendum to commit d1258e99f (r16229).
This commit is contained in:
committed by
Hermès Bélusca-Maïto
parent
603fd832d0
commit
cbc78e0629
@@ -139,8 +139,8 @@ VOID
|
||||
NTAPI
|
||||
IoDisconnectInterrupt(PKINTERRUPT InterruptObject)
|
||||
{
|
||||
LONG i;
|
||||
PIO_INTERRUPT IoInterrupt;
|
||||
ULONG i;
|
||||
|
||||
PAGED_CODE();
|
||||
|
||||
@@ -160,7 +160,7 @@ IoDisconnectInterrupt(PKINTERRUPT InterruptObject)
|
||||
continue;
|
||||
|
||||
/* Disconnect it */
|
||||
KeDisconnectInterrupt(&InterruptObject[i]);
|
||||
KeDisconnectInterrupt(IoInterrupt->Interrupt[i]);
|
||||
}
|
||||
|
||||
/* Free the I/O Interrupt */
|
||||
|
||||
Reference in New Issue
Block a user