diff options
Diffstat (limited to 'drivers/net/ibmlana.c')
-rw-r--r-- | drivers/net/ibmlana.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ibmlana.c b/drivers/net/ibmlana.c index 052c74091d91..b5d0f4e973f7 100644 --- a/drivers/net/ibmlana.c +++ b/drivers/net/ibmlana.c | |||
@@ -420,7 +420,7 @@ static void InitBoard(struct net_device *dev) | |||
420 | /* start putting the multicast addresses into the CAM list. Stop if | 420 | /* start putting the multicast addresses into the CAM list. Stop if |
421 | it is full. */ | 421 | it is full. */ |
422 | 422 | ||
423 | for (mcptr = dev->mc_list; mcptr != NULL; mcptr = mcptr->next) { | 423 | netdev_for_each_mc_addr(mcptr, dev) { |
424 | putcam(cams, &camcnt, mcptr->dmi_addr); | 424 | putcam(cams, &camcnt, mcptr->dmi_addr); |
425 | if (camcnt == 16) | 425 | if (camcnt == 16) |
426 | break; | 426 | break; |