aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ucc_geth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ucc_geth.c')
-rw-r--r--drivers/net/ucc_geth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 225f65812f2e..a05720289c7e 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -2031,7 +2031,8 @@ static void ucc_geth_set_multi(struct net_device *dev)
2031 2031
2032 dmi = dev->mc_list; 2032 dmi = dev->mc_list;
2033 2033
2034 for (i = 0; i < dev->mc_count; i++, dmi = dmi->next) { 2034 for (i = 0; i < netdev_mc_count(dev);
2035 i++, dmi = dmi->next) {
2035 2036
2036 /* Only support group multicast for now. 2037 /* Only support group multicast for now.
2037 */ 2038 */