diff --git a/src/pci.c b/src/pci.c index e7e138804..397442c4c 100644 --- a/src/pci.c +++ b/src/pci.c @@ -194,7 +194,7 @@ void pci_set_irq(int card, int pci_int) pci_issue_irq(pci_irqs[irq]); /* pci_irq_active[card] = 1; */ /* If the IRQ is set to edge, there is no need to hold it. */ - if (pci_irq_is_level(pci_irqs[irq])) + if (!pci_irq_is_level(pci_irqs[irq])) { pci_irq_hold[pci_irqs[irq]] |= (1 << card); }