aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/au1000_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/au1000_eth.c')
-rw-r--r--drivers/net/au1000_eth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/au1000_eth.c b/drivers/net/au1000_eth.c
index 4da191b87b0..29631593cc2 100644
--- a/drivers/net/au1000_eth.c
+++ b/drivers/net/au1000_eth.c
@@ -957,12 +957,12 @@ static void au1000_multicast_list(struct net_device *dev)
957 aup->mac->control &= ~MAC_PROMISCUOUS; 957 aup->mac->control &= ~MAC_PROMISCUOUS;
958 printk(KERN_INFO "%s: Pass all multicast\n", dev->name); 958 printk(KERN_INFO "%s: Pass all multicast\n", dev->name);
959 } else { 959 } else {
960 struct dev_mc_list *mclist; 960 struct netdev_hw_addr *ha;
961 u32 mc_filter[2]; /* Multicast hash filter */ 961 u32 mc_filter[2]; /* Multicast hash filter */
962 962
963 mc_filter[1] = mc_filter[0] = 0; 963 mc_filter[1] = mc_filter[0] = 0;
964 netdev_for_each_mc_addr(mclist, dev) 964 netdev_for_each_mc_addr(ha, dev)
965 set_bit(ether_crc(ETH_ALEN, mclist->dmi_addr)>>26, 965 set_bit(ether_crc(ETH_ALEN, ha->addr)>>26,
966 (long *)mc_filter); 966 (long *)mc_filter);
967 aup->mac->multi_hash_high = mc_filter[1]; 967 aup->mac->multi_hash_high = mc_filter[1];
968 aup->mac->multi_hash_low = mc_filter[0]; 968 aup->mac->multi_hash_low = mc_filter[0];