aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/b44.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/b44.c')
-rw-r--r--drivers/net/b44.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/b44.c b/drivers/net/b44.c
index 332c60356285..b2c5fd7b63af 100644
--- a/drivers/net/b44.c
+++ b/drivers/net/b44.c
@@ -1680,15 +1680,15 @@ static struct net_device_stats *b44_get_stats(struct net_device *dev)
1680 1680
1681static int __b44_load_mcast(struct b44 *bp, struct net_device *dev) 1681static int __b44_load_mcast(struct b44 *bp, struct net_device *dev)
1682{ 1682{
1683 struct dev_mc_list *mclist; 1683 struct netdev_hw_addr *ha;
1684 int i, num_ents; 1684 int i, num_ents;
1685 1685
1686 num_ents = min_t(int, netdev_mc_count(dev), B44_MCAST_TABLE_SIZE); 1686 num_ents = min_t(int, netdev_mc_count(dev), B44_MCAST_TABLE_SIZE);
1687 i = 0; 1687 i = 0;
1688 netdev_for_each_mc_addr(mclist, dev) { 1688 netdev_for_each_mc_addr(ha, dev) {
1689 if (i == num_ents) 1689 if (i == num_ents)
1690 break; 1690 break;
1691 __b44_cam_write(bp, mclist->dmi_addr, i++ + 1); 1691 __b44_cam_write(bp, ha->addr, i++ + 1);
1692 } 1692 }
1693 return i+1; 1693 return i+1;
1694} 1694}