net: convert multiple drivers to use netdev_for_each_mc_addr, part4
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
7a81e9f3ca
commit
48e2f183cb
@ -420,7 +420,7 @@ static void InitBoard(struct net_device *dev)
|
||||
/* start putting the multicast addresses into the CAM list. Stop if
|
||||
it is full. */
|
||||
|
||||
for (mcptr = dev->mc_list; mcptr != NULL; mcptr = mcptr->next) {
|
||||
netdev_for_each_mc_addr(mcptr, dev) {
|
||||
putcam(cams, &camcnt, mcptr->dmi_addr);
|
||||
if (camcnt == 16)
|
||||
break;
|
||||
|
Reference in New Issue
Block a user