aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_mbx.c
diff options
context:
space:
mode:
authorAndy Gospodarek <andy@greyhouse.net>2011-03-08 17:26:00 -0500
committerDavid S. Miller <davem@davemloft.net>2011-03-08 17:26:00 -0500
commit5217e8794619ac0a29151f29be20c7d6188303ba (patch)
treeef64704b304c3589c1aa9596588a840d744e133b /drivers/net/ixgbe/ixgbe_mbx.c
parentfdb838cdae4d4f2a478e5cfdd84026f7960b69dd (diff)
ixgbe: fix compile failure in ixgbe_init_mbx_params_pf
This commit: commit d7c8a29fc8bd20ba45ec2f52577ed04a988a9500 Author: Emil Tantilov <emil.s.tantilov@intel.com> Date: Thu Mar 3 09:25:02 2011 +0000 ixgbe: improve logic in ixgbe_init_mbx_params_pf incorrectly added a line that accessed mbx->udelay. I'm sure the intent was mbx->usec_delay. This patch fixes the compilation error. Signed-off-by: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_mbx.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_mbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_mbx.c b/drivers/net/ixgbe/ixgbe_mbx.c
index 3cf8aec50fcd..c7ed82eb2539 100644
--- a/drivers/net/ixgbe/ixgbe_mbx.c
+++ b/drivers/net/ixgbe/ixgbe_mbx.c
@@ -453,7 +453,7 @@ void ixgbe_init_mbx_params_pf(struct ixgbe_hw *hw)
453 return; 453 return;
454 454
455 mbx->timeout = 0; 455 mbx->timeout = 0;
456 mbx->udelay = 0; 456 mbx->usec_delay = 0;
457 457
458 mbx->stats.msgs_tx = 0; 458 mbx->stats.msgs_tx = 0;
459 mbx->stats.msgs_rx = 0; 459 mbx->stats.msgs_rx = 0;