mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOS:IO] IoDisconnectInterrupt(): Fix disconnecting other interrupts (#6503)
Addendum to commit d1258e99f
(r16229).
This commit is contained in:
parent
603fd832d0
commit
cbc78e0629
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue