diff options
Diffstat (limited to 'drivers/net/arm/at91_ether.c')
-rw-r--r-- | drivers/net/arm/at91_ether.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/arm/at91_ether.c b/drivers/net/arm/at91_ether.c index 8b23d5a175bf..f31e8b6cbf73 100644 --- a/drivers/net/arm/at91_ether.c +++ b/drivers/net/arm/at91_ether.c | |||
@@ -556,14 +556,14 @@ static int hash_get_index(__u8 *addr) | |||
556 | */ | 556 | */ |
557 | static void at91ether_sethashtable(struct net_device *dev) | 557 | static void at91ether_sethashtable(struct net_device *dev) |
558 | { | 558 | { |
559 | struct dev_mc_list *curr; | 559 | struct netdev_hw_addr *ha; |
560 | unsigned long mc_filter[2]; | 560 | unsigned long mc_filter[2]; |
561 | unsigned int bitnr; | 561 | unsigned int bitnr; |
562 | 562 | ||
563 | mc_filter[0] = mc_filter[1] = 0; | 563 | mc_filter[0] = mc_filter[1] = 0; |
564 | 564 | ||
565 | netdev_for_each_mc_addr(curr, dev) { | 565 | netdev_for_each_mc_addr(ha, dev) { |
566 | bitnr = hash_get_index(curr->dmi_addr); | 566 | bitnr = hash_get_index(ha->addr); |
567 | mc_filter[bitnr >> 5] |= 1 << (bitnr & 31); | 567 | mc_filter[bitnr >> 5] |= 1 << (bitnr & 31); |
568 | } | 568 | } |
569 | 569 | ||