Bluetooth: Bring back var 'i' increment

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

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Gustavo F. Padovan 2010-06-18 14:24:00 +00:00 committed by David S. Miller
parent b1312c89f0
commit 1a61a83ff5
1 changed files with 2 additions and 0 deletions

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);
}