Missing braces in link routine.

This commit is contained in:
Jack F Vogel 2008-03-01 04:12:54 +00:00
parent cee379a803
commit 8443538a99

View File

@ -1334,10 +1334,11 @@ igb_msix_link(void *arg)
++adapter->link_irq; ++adapter->link_irq;
eicr = E1000_READ_REG(&adapter->hw, E1000_EICR); eicr = E1000_READ_REG(&adapter->hw, E1000_EICR);
if (eicr & E1000_EIMS_OTHER) if (eicr & E1000_EIMS_OTHER) {
icr = E1000_READ_REG(&adapter->hw, E1000_ICR); icr = E1000_READ_REG(&adapter->hw, E1000_ICR);
if (!(icr & E1000_ICR_LSC)) if (!(icr & E1000_ICR_LSC))
goto spurious; goto spurious;
}
taskqueue_enqueue(taskqueue_fast, &adapter->link_task); taskqueue_enqueue(taskqueue_fast, &adapter->link_task);
spurious: spurious: