]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/usb/mcs7830.c
net: convert multicast list to list_head
[net-next-2.6.git] / drivers / net / usb / mcs7830.c
index 70978219e98afb8005a1519e4120a6f8acd7e23d..0dc92c8ba4b2253acc525906014d44b2dea88315 100644 (file)
@@ -452,12 +452,12 @@ static void mcs7830_data_set_multicast(struct net_device *net)
                 * for our 8 byte filter buffer
                 * to avoid allocating memory that
                 * is tricky to free later */
-               struct dev_mc_list *mc_list;
+               struct netdev_hw_addr *ha;
                u32 crc_bits;
 
                /* Build the multicast hash filter. */
-               netdev_for_each_mc_addr(mc_list, net) {
-                       crc_bits = ether_crc(ETH_ALEN, mc_list->dmi_addr) >> 26;
+               netdev_for_each_mc_addr(ha, net) {
+                       crc_bits = ether_crc(ETH_ALEN, ha->addr) >> 26;
                        data->multi_filter[crc_bits >> 3] |= 1 << (crc_bits & 7);
                }
        }