diff options
Diffstat (limited to 'drivers/net/gianfar.c')
-rw-r--r-- | drivers/net/gianfar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c index c9be090485dd..6aa526ee9096 100644 --- a/drivers/net/gianfar.c +++ b/drivers/net/gianfar.c | |||
@@ -2867,7 +2867,7 @@ static void gfar_set_multi(struct net_device *dev) | |||
2867 | return; | 2867 | return; |
2868 | 2868 | ||
2869 | /* Parse the list, and set the appropriate bits */ | 2869 | /* Parse the list, and set the appropriate bits */ |
2870 | for(mc_ptr = dev->mc_list; mc_ptr; mc_ptr = mc_ptr->next) { | 2870 | netdev_for_each_mc_addr(mc_ptr, dev) { |
2871 | if (idx < em_num) { | 2871 | if (idx < em_num) { |
2872 | gfar_set_mac_for_addr(dev, idx, | 2872 | gfar_set_mac_for_addr(dev, idx, |
2873 | mc_ptr->dmi_addr); | 2873 | mc_ptr->dmi_addr); |