diff options
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/fw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/fw.c b/drivers/net/ethernet/mellanox/mlx4/fw.c index 2a02ba522e60..24429a99190d 100644 --- a/drivers/net/ethernet/mellanox/mlx4/fw.c +++ b/drivers/net/ethernet/mellanox/mlx4/fw.c | |||
@@ -1164,9 +1164,8 @@ int mlx4_INIT_PORT_wrapper(struct mlx4_dev *dev, int slave, | |||
1164 | MLX4_CMD_TIME_CLASS_A, MLX4_CMD_NATIVE); | 1164 | MLX4_CMD_TIME_CLASS_A, MLX4_CMD_NATIVE); |
1165 | if (err) | 1165 | if (err) |
1166 | return err; | 1166 | return err; |
1167 | priv->mfunc.master.slave_state[slave].init_port_mask |= | ||
1168 | (1 << port); | ||
1169 | } | 1167 | } |
1168 | priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); | ||
1170 | ++priv->mfunc.master.init_port_ref[port]; | 1169 | ++priv->mfunc.master.init_port_ref[port]; |
1171 | return 0; | 1170 | return 0; |
1172 | } | 1171 | } |