summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ixgbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/ixgbe.c')
-rw-r--r--sys/dev/pci/ixgbe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/ixgbe.c b/sys/dev/pci/ixgbe.c
index 0b0e19083db..7c83e0a0865 100644
--- a/sys/dev/pci/ixgbe.c
+++ b/sys/dev/pci/ixgbe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ixgbe.c,v 1.22 2016/11/24 17:39:49 mikeb Exp $ */
+/* $OpenBSD: ixgbe.c,v 1.23 2016/12/02 15:22:57 mikeb Exp $ */
/******************************************************************************
@@ -2530,9 +2530,9 @@ void ixgbe_fc_autoneg(struct ixgbe_hw *hw)
out:
if (ret_val == IXGBE_SUCCESS) {
hw->fc.fc_was_autonegged = TRUE;
- hw->fc.current_mode = hw->fc.requested_mode;
} else {
hw->fc.fc_was_autonegged = FALSE;
+ hw->fc.current_mode = hw->fc.requested_mode;
}
}