]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/mac80211/driver-ops.h
net: convert multicast list to list_head
[net-next-2.6.git] / net / mac80211 / driver-ops.h
index c3d844093a2f9203127f1cb10ee1f1d9b97a68ae..9179196da264df16df969ea8c36b9d85187a0336 100644 (file)
@@ -84,16 +84,14 @@ static inline void drv_bss_info_changed(struct ieee80211_local *local,
 }
 
 static inline u64 drv_prepare_multicast(struct ieee80211_local *local,
-                                       int mc_count,
-                                       struct dev_addr_list *mc_list)
+                                       struct netdev_hw_addr_list *mc_list)
 {
        u64 ret = 0;
 
        if (local->ops->prepare_multicast)
-               ret = local->ops->prepare_multicast(&local->hw, mc_count,
-                                                   mc_list);
+               ret = local->ops->prepare_multicast(&local->hw, mc_list);
 
-       trace_drv_prepare_multicast(local, mc_count, ret);
+       trace_drv_prepare_multicast(local, mc_list->count, ret);
 
        return ret;
 }