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 5adc662c4bfb..f45c626003a4 100644
--- a/drivers/net/pcmcia/smc91c92_cs.c
+++ b/drivers/net/pcmcia/smc91c92_cs.c
@@ -1616,12 +1616,12 @@ static void set_rx_mode(struct net_device *dev)
1616 rx_cfg_setting = RxStripCRC | RxEnable | RxAllMulti; 1616 rx_cfg_setting = RxStripCRC | RxEnable | RxAllMulti;
1617 else { 1617 else {
1618 if (!netdev_mc_empty(dev)) { 1618 if (!netdev_mc_empty(dev)) {
1619 struct dev_mc_list *mc_addr; 1619 struct netdev_hw_addr *ha;
1620 1620
1621 netdev_for_each_mc_addr(mc_addr, dev) { 1621 netdev_for_each_mc_addr(ha, dev) {
1622 u_int position = ether_crc(6, mc_addr->dmi_addr); 1622 u_int position = ether_crc(6, ha->addr);
1623#ifndef final_version /* Verify multicast address. */ 1623#ifndef final_version /* Verify multicast address. */
1624 if ((mc_addr->dmi_addr[0] & 1) == 0) 1624 if ((ha->addr[0] & 1) == 0)
1625 continue; 1625 continue;
1626#endif 1626#endif
1627 multicast_table[position >> 29] |= 1 << ((position >> 26) & 7); 1627 multicast_table[position >> 29] |= 1 << ((position >> 26) & 7);