wireless: convert to use netdev_for_each_mc_addr
also added missed locking in rndis_wlan.c Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
9675478bba
commit
655ffee284
@@ -1676,8 +1676,7 @@ __orinoco_set_multicast_list(struct net_device *dev)
|
||||
mc_count = netdev_mc_count(dev);
|
||||
}
|
||||
|
||||
err = __orinoco_hw_set_multicast_list(priv, dev->mc_list, mc_count,
|
||||
promisc);
|
||||
err = __orinoco_hw_set_multicast_list(priv, dev, mc_count, promisc);
|
||||
|
||||
return err;
|
||||
}
|
||||
|
Reference in New Issue
Block a user