Skip to content

Commit

Permalink
Bluetooth: Bring back var 'i' increment
Browse files Browse the repository at this point in the history
commit ff6e216 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>
  • Loading branch information
Gustavo F. Padovan authored and David S. Miller committed Jun 25, 2010
1 parent b1312c8 commit 1a61a83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/bluetooth/bnep/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1a61a83

Please sign in to comment.