aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fs_enet/mac-scc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/fs_enet/mac-scc.c')
-rw-r--r--drivers/net/fs_enet/mac-scc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/fs_enet/mac-scc.c b/drivers/net/fs_enet/mac-scc.c
index 34d3da751eb4..7f0591e43cd9 100644
--- a/drivers/net/fs_enet/mac-scc.c
+++ b/drivers/net/fs_enet/mac-scc.c
@@ -223,12 +223,12 @@ static void set_multicast_finish(struct net_device *dev)
223 223
224static void set_multicast_list(struct net_device *dev) 224static void set_multicast_list(struct net_device *dev)
225{ 225{
226 struct dev_mc_list *pmc; 226 struct netdev_hw_addr *ha;
227 227
228 if ((dev->flags & IFF_PROMISC) == 0) { 228 if ((dev->flags & IFF_PROMISC) == 0) {
229 set_multicast_start(dev); 229 set_multicast_start(dev);
230 netdev_for_each_mc_addr(pmc, dev) 230 netdev_for_each_mc_addr(ha, dev)
231 set_multicast_one(dev, pmc->dmi_addr); 231 set_multicast_one(dev, ha->addr);
232 set_multicast_finish(dev); 232 set_multicast_finish(dev);
233 } else 233 } else
234 set_promiscuous_mode(dev); 234 set_promiscuous_mode(dev);