From 8443538a99cf3d3d327319fba1b765698af2ccd1 Mon Sep 17 00:00:00 2001 From: Jack F Vogel Date: Sat, 1 Mar 2008 04:12:54 +0000 Subject: [PATCH] Missing braces in link routine. --- sys/dev/igb/if_igb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/igb/if_igb.c b/sys/dev/igb/if_igb.c index e935b7c58e5e..333c8ed30166 100644 --- a/sys/dev/igb/if_igb.c +++ b/sys/dev/igb/if_igb.c @@ -1334,10 +1334,11 @@ igb_msix_link(void *arg) ++adapter->link_irq; 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); if (!(icr & E1000_ICR_LSC)) goto spurious; + } taskqueue_enqueue(taskqueue_fast, &adapter->link_task); spurious: