aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/net/qeth_l2_main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c
index 7576ad5a833a..945f3e0a9f06 100644
--- a/drivers/s390/net/qeth_l2_main.c
+++ b/drivers/s390/net/qeth_l2_main.c
@@ -607,7 +607,6 @@ static int qeth_l2_set_mac_address(struct net_device *dev, void *p)
607static void qeth_l2_set_multicast_list(struct net_device *dev) 607static void qeth_l2_set_multicast_list(struct net_device *dev)
608{ 608{
609 struct qeth_card *card = dev->ml_priv; 609 struct qeth_card *card = dev->ml_priv;
610 struct dev_addr_list *dm;
611 struct netdev_hw_addr *ha; 610 struct netdev_hw_addr *ha;
612 611
613 if (card->info.type == QETH_CARD_TYPE_OSN) 612 if (card->info.type == QETH_CARD_TYPE_OSN)
@@ -619,8 +618,8 @@ static void qeth_l2_set_multicast_list(struct net_device *dev)
619 return; 618 return;
620 qeth_l2_del_all_mc(card); 619 qeth_l2_del_all_mc(card);
621 spin_lock_bh(&card->mclock); 620 spin_lock_bh(&card->mclock);
622 netdev_for_each_mc_addr(dm, dev) 621 netdev_for_each_mc_addr(ha, dev)
623 qeth_l2_add_mc(card, dm->da_addr, 0); 622 qeth_l2_add_mc(card, ha->addr, 0);
624 623
625 netdev_for_each_uc_addr(ha, dev) 624 netdev_for_each_uc_addr(ha, dev)
626 qeth_l2_add_mc(card, ha->addr, 1); 625 qeth_l2_add_mc(card, ha->addr, 1);