Commit 1a61a83f authored by Gustavo F. Padovan's avatar Gustavo F. Padovan Committed by David S. Miller

Bluetooth: Bring back var 'i' increment

commit ff6e2163 accidentally added a
regression on the bnep code. Fixing it.
Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b1312c89
...@@ -104,6 +104,8 @@ static void bnep_net_set_mc_list(struct net_device *dev) ...@@ -104,6 +104,8 @@ static void bnep_net_set_mc_list(struct net_device *dev)
break; break;
memcpy(__skb_put(skb, ETH_ALEN), ha->addr, ETH_ALEN); memcpy(__skb_put(skb, ETH_ALEN), ha->addr, ETH_ALEN);
memcpy(__skb_put(skb, ETH_ALEN), ha->addr, ETH_ALEN); memcpy(__skb_put(skb, ETH_ALEN), ha->addr, ETH_ALEN);
i++;
} }
r->len = htons(skb->len - len); r->len = htons(skb->len - len);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment