diff options
Diffstat (limited to 'drivers/net/7990.c')
-rw-r--r-- | drivers/net/7990.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/7990.c b/drivers/net/7990.c index b1e5764628c6..079d0be37821 100644 --- a/drivers/net/7990.c +++ b/drivers/net/7990.c | |||
@@ -611,7 +611,7 @@ static void lance_load_multicast (struct net_device *dev) | |||
611 | ib->filter [1] = 0; | 611 | ib->filter [1] = 0; |
612 | 612 | ||
613 | /* Add addresses */ | 613 | /* Add addresses */ |
614 | for (i = 0; i < dev->mc_count; i++){ | 614 | for (i = 0; i < netdev_mc_count(dev); i++){ |
615 | addrs = dmi->dmi_addr; | 615 | addrs = dmi->dmi_addr; |
616 | dmi = dmi->next; | 616 | dmi = dmi->next; |
617 | 617 | ||