diff options
Diffstat (limited to 'drivers/net/wireless/orinoco/hw.c')
-rw-r--r-- | drivers/net/wireless/orinoco/hw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/orinoco/hw.c b/drivers/net/wireless/orinoco/hw.c index 883b8f868626..9f657afaa3e5 100644 --- a/drivers/net/wireless/orinoco/hw.c +++ b/drivers/net/wireless/orinoco/hw.c | |||
@@ -1056,14 +1056,14 @@ int __orinoco_hw_set_multicast_list(struct orinoco_private *priv, | |||
1056 | * group address if either we want to multicast, or if we were | 1056 | * group address if either we want to multicast, or if we were |
1057 | * multicasting and want to stop */ | 1057 | * multicasting and want to stop */ |
1058 | if (!promisc && (mc_count || priv->mc_count)) { | 1058 | if (!promisc && (mc_count || priv->mc_count)) { |
1059 | struct dev_mc_list *p; | 1059 | struct netdev_hw_addr *ha; |
1060 | struct hermes_multicast mclist; | 1060 | struct hermes_multicast mclist; |
1061 | int i = 0; | 1061 | int i = 0; |
1062 | 1062 | ||
1063 | netdev_for_each_mc_addr(p, dev) { | 1063 | netdev_for_each_mc_addr(ha, dev) { |
1064 | if (i == mc_count) | 1064 | if (i == mc_count) |
1065 | break; | 1065 | break; |
1066 | memcpy(mclist.addr[i++], p->dmi_addr, ETH_ALEN); | 1066 | memcpy(mclist.addr[i++], ha->addr, ETH_ALEN); |
1067 | } | 1067 | } |
1068 | 1068 | ||
1069 | err = hermes_write_ltv(hw, USER_BAP, | 1069 | err = hermes_write_ltv(hw, USER_BAP, |