Bluetooth: Bring back var 'i' increment

commit ff6e2163f2 accidentally added a
regression on the bnep code. Fixing it.

Signed-off-by: Gustavo F. Padovan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Gustavo F. Padovan 2010-06-18 14:24:00 +00:00 • committed by David S. Miller
commit 1a61a83ff5

View file

@ -104,6 +104,8 @@ static void bnep_net_set_mc_list(struct net_device *dev)
break;
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);
}