aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_main.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index 382bf8945d11..0792f151de99 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -2571,7 +2571,7 @@ void ixgbe_set_rx_mode(struct net_device *netdev)
2571 hw->mac.ops.update_uc_addr_list(hw, netdev); 2571 hw->mac.ops.update_uc_addr_list(hw, netdev);
2572 2572
2573 /* reprogram multicast list */ 2573 /* reprogram multicast list */
2574 addr_count = netdev->mc_count; 2574 addr_count = netdev_mc_count(netdev);
2575 if (addr_count) 2575 if (addr_count)
2576 addr_list = netdev->mc_list->dmi_addr; 2576 addr_list = netdev->mc_list->dmi_addr;
2577 hw->mac.ops.update_mc_addr_list(hw, addr_list, addr_count, 2577 hw->mac.ops.update_mc_addr_list(hw, addr_list, addr_count,