diff options
Diffstat (limited to 'drivers/net/pcnet32.c')
-rw-r--r-- | drivers/net/pcnet32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcnet32.c b/drivers/net/pcnet32.c index 0dc7ff896eeb..3522794550dd 100644 --- a/drivers/net/pcnet32.c +++ b/drivers/net/pcnet32.c | |||
@@ -2698,7 +2698,7 @@ static void pcnet32_load_multicast(struct net_device *dev) | |||
2698 | ib->filter[1] = 0; | 2698 | ib->filter[1] = 0; |
2699 | 2699 | ||
2700 | /* Add addresses */ | 2700 | /* Add addresses */ |
2701 | for (i = 0; i < dev->mc_count; i++) { | 2701 | for (i = 0; i < netdev_mc_count(dev); i++) { |
2702 | addrs = dmi->dmi_addr; | 2702 | addrs = dmi->dmi_addr; |
2703 | dmi = dmi->next; | 2703 | dmi = dmi->next; |
2704 | 2704 | ||