diff options
Diffstat (limited to 'drivers/net/dl2k.c')
| -rw-r--r-- | drivers/net/dl2k.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/drivers/net/dl2k.c b/drivers/net/dl2k.c index b05bad829827..6579225dbd91 100644 --- a/drivers/net/dl2k.c +++ b/drivers/net/dl2k.c | |||
| @@ -1132,14 +1132,14 @@ set_multicast (struct net_device *dev) | |||
| 1132 | /* Receive broadcast and multicast frames */ | 1132 | /* Receive broadcast and multicast frames */ | 
| 1133 | rx_mode = ReceiveBroadcast | ReceiveMulticast | ReceiveUnicast; | 1133 | rx_mode = ReceiveBroadcast | ReceiveMulticast | ReceiveUnicast; | 
| 1134 | } else if (!netdev_mc_empty(dev)) { | 1134 | } else if (!netdev_mc_empty(dev)) { | 
| 1135 | struct dev_mc_list *mclist; | 1135 | struct netdev_hw_addr *ha; | 
| 1136 | /* Receive broadcast frames and multicast frames filtering | 1136 | /* Receive broadcast frames and multicast frames filtering | 
| 1137 | by Hashtable */ | 1137 | by Hashtable */ | 
| 1138 | rx_mode = | 1138 | rx_mode = | 
| 1139 | ReceiveBroadcast | ReceiveMulticastHash | ReceiveUnicast; | 1139 | ReceiveBroadcast | ReceiveMulticastHash | ReceiveUnicast; | 
| 1140 | netdev_for_each_mc_addr(mclist, dev) { | 1140 | netdev_for_each_mc_addr(ha, dev) { | 
| 1141 | int bit, index = 0; | 1141 | int bit, index = 0; | 
| 1142 | int crc = ether_crc_le (ETH_ALEN, mclist->dmi_addr); | 1142 | int crc = ether_crc_le(ETH_ALEN, ha->addr); | 
| 1143 | /* The inverted high significant 6 bits of CRC are | 1143 | /* The inverted high significant 6 bits of CRC are | 
| 1144 | used as an index to hashtable */ | 1144 | used as an index to hashtable */ | 
| 1145 | for (bit = 0; bit < 6; bit++) | 1145 | for (bit = 0; bit < 6; bit++) | 
