aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/smc91c92_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pcmcia/smc91c92_cs.c')
-rw-r--r--drivers/net/pcmcia/smc91c92_cs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c
index ff7eb9116b6a..ad2267646187 100644
--- a/drivers/net/pcmcia/smc91c92_cs.c
+++ b/drivers/net/pcmcia/smc91c92_cs.c
@@ -1618,12 +1618,12 @@ static void set_rx_mode(struct net_device *dev)
1618 rx_cfg_setting = RxStripCRC | RxEnable | RxAllMulti; 1618 rx_cfg_setting = RxStripCRC | RxEnable | RxAllMulti;
1619 else { 1619 else {
1620 if (!netdev_mc_empty(dev)) { 1620 if (!netdev_mc_empty(dev)) {
1621 struct dev_mc_list *mc_addr; 1621 struct netdev_hw_addr *ha;
1622 1622
1623 netdev_for_each_mc_addr(mc_addr, dev) { 1623 netdev_for_each_mc_addr(ha, dev) {
1624 u_int position = ether_crc(6, mc_addr->dmi_addr); 1624 u_int position = ether_crc(6, ha->addr);
1625#ifndef final_version /* Verify multicast address. */ 1625#ifndef final_version /* Verify multicast address. */
1626 if ((mc_addr->dmi_addr[0] & 1) == 0) 1626 if ((ha->addr[0] & 1) == 0)
1627 continue; 1627 continue;
1628#endif 1628#endif
1629 multicast_table[position >> 29] |= 1 << ((position >> 26) & 7); 1629 multicast_table[position >> 29] |= 1 << ((position >> 26) & 7);