ixgbe: fix compile failure in ixgbe_init_mbx_params_pf
authorAndy Gospodarek <andy@greyhouse.net>
Tue, 8 Mar 2011 22:26:00 +0000 (14:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Mar 2011 22:26:00 +0000 (14:26 -0800)
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>
drivers/net/ixgbe/ixgbe_mbx.c

index 3cf8aec..c7ed82e 100644 (file)
@@ -453,7 +453,7 @@ void ixgbe_init_mbx_params_pf(struct ixgbe_hw *hw)
                return;
 
        mbx->timeout = 0;
-       mbx->udelay = 0;
+       mbx->usec_delay = 0;
 
        mbx->stats.msgs_tx = 0;
        mbx->stats.msgs_rx = 0;