aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_common.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ixgbe/ixgbe_common.c b/drivers/net/ixgbe/ixgbe_common.c
index 4d1c3a429457..6eb5814ca7da 100644
--- a/drivers/net/ixgbe/ixgbe_common.c
+++ b/drivers/net/ixgbe/ixgbe_common.c
@@ -1494,7 +1494,7 @@ static void ixgbe_set_mta(struct ixgbe_hw *hw, u8 *mc_addr)
1494s32 ixgbe_update_mc_addr_list_generic(struct ixgbe_hw *hw, 1494s32 ixgbe_update_mc_addr_list_generic(struct ixgbe_hw *hw,
1495 struct net_device *netdev) 1495 struct net_device *netdev)
1496{ 1496{
1497 struct dev_addr_list *dmi; 1497 struct netdev_hw_addr *ha;
1498 u32 i; 1498 u32 i;
1499 1499
1500 /* 1500 /*
@@ -1510,9 +1510,9 @@ s32 ixgbe_update_mc_addr_list_generic(struct ixgbe_hw *hw,
1510 IXGBE_WRITE_REG(hw, IXGBE_MTA(i), 0); 1510 IXGBE_WRITE_REG(hw, IXGBE_MTA(i), 0);
1511 1511
1512 /* Add the new addresses */ 1512 /* Add the new addresses */
1513 netdev_for_each_mc_addr(dmi, netdev) { 1513 netdev_for_each_mc_addr(ha, netdev) {
1514 hw_dbg(hw, " Adding the multicast addresses:\n"); 1514 hw_dbg(hw, " Adding the multicast addresses:\n");
1515 ixgbe_set_mta(hw, dmi->dmi_addr); 1515 ixgbe_set_mta(hw, ha->addr);
1516 } 1516 }
1517 1517
1518 /* Enable mta */ 1518 /* Enable mta */