diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/cmd.c b/drivers/net/ethernet/mellanox/mlx4/cmd.c index ea20182c6969..bb11624a1f39 100644 --- a/drivers/net/ethernet/mellanox/mlx4/cmd.c +++ b/drivers/net/ethernet/mellanox/mlx4/cmd.c | |||
@@ -1691,7 +1691,7 @@ static void mlx4_master_deactivate_admin_state(struct mlx4_priv *priv, int slave | |||
1691 | vp_oper->vlan_idx = NO_INDX; | 1691 | vp_oper->vlan_idx = NO_INDX; |
1692 | } | 1692 | } |
1693 | if (NO_INDX != vp_oper->mac_idx) { | 1693 | if (NO_INDX != vp_oper->mac_idx) { |
1694 | __mlx4_unregister_mac(&priv->dev, port, vp_oper->mac_idx); | 1694 | __mlx4_unregister_mac(&priv->dev, port, vp_oper->state.mac); |
1695 | vp_oper->mac_idx = NO_INDX; | 1695 | vp_oper->mac_idx = NO_INDX; |
1696 | } | 1696 | } |
1697 | } | 1697 | } |