diff options
Diffstat (limited to 'drivers/net/tokenring/ibmtr.c')
-rw-r--r-- | drivers/net/tokenring/ibmtr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/tokenring/ibmtr.c b/drivers/net/tokenring/ibmtr.c index 66272f2a075..1a0967246e2 100644 --- a/drivers/net/tokenring/ibmtr.c +++ b/drivers/net/tokenring/ibmtr.c | |||
@@ -995,13 +995,11 @@ static void tok_set_multicast_list(struct net_device *dev) | |||
995 | /*BMS ifconfig tr down or hot unplug a PCMCIA card ??hownowbrowncow*/ | 995 | /*BMS ifconfig tr down or hot unplug a PCMCIA card ??hownowbrowncow*/ |
996 | if (/*BMSHELPdev->start == 0 ||*/ ti->open_status != OPEN) return; | 996 | if (/*BMSHELPdev->start == 0 ||*/ ti->open_status != OPEN) return; |
997 | address[0] = address[1] = address[2] = address[3] = 0; | 997 | address[0] = address[1] = address[2] = address[3] = 0; |
998 | mclist = dev->mc_list; | 998 | netdev_for_each_mc_addr(mclist, dev) { |
999 | for (i = 0; i < dev->mc_count; i++) { | ||
1000 | address[0] |= mclist->dmi_addr[2]; | 999 | address[0] |= mclist->dmi_addr[2]; |
1001 | address[1] |= mclist->dmi_addr[3]; | 1000 | address[1] |= mclist->dmi_addr[3]; |
1002 | address[2] |= mclist->dmi_addr[4]; | 1001 | address[2] |= mclist->dmi_addr[4]; |
1003 | address[3] |= mclist->dmi_addr[5]; | 1002 | address[3] |= mclist->dmi_addr[5]; |
1004 | mclist = mclist->next; | ||
1005 | } | 1003 | } |
1006 | SET_PAGE(ti->srb_page); | 1004 | SET_PAGE(ti->srb_page); |
1007 | for (i = 0; i < sizeof(struct srb_set_funct_addr); i++) | 1005 | for (i = 0; i < sizeof(struct srb_set_funct_addr); i++) |