Fix bug 474. Patch by tinus
Modified: trunk/reactos/ntoskrnl/ke/i386/irq.c
_____
Modified: trunk/reactos/ntoskrnl/ke/i386/irq.c
--- trunk/reactos/ntoskrnl/ke/i386/irq.c 2005-01-25 01:35:43 UTC
(rev 13265)
+++ trunk/reactos/ntoskrnl/ke/i386/irq.c 2005-01-25 05:00:57 UTC
(rev 13266)
@@ -461,7 +461,7 @@
Vector = InterruptObject->Vector;
- if (Vector < IRQ_BASE && Vector >= IRQ_BASE + NR_IRQS)
+ if (Vector < IRQ_BASE || Vector >= IRQ_BASE + NR_IRQS)
return FALSE;
Vector -= IRQ_BASE;