Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255691
b: refs/heads/master
c: 37e1c55
h: refs/heads/master
i:
  255689: 9398cb9
  255687: 2d2f334
v: v3
  • Loading branch information
Johan Hedberg authored and Gustavo F. Padovan committed Jun 8, 2011
1 parent 18a489a commit 46fce1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 75fde9ee1bca0c0c004aadaebdedf17370f93f18
refs/heads/master: 37e1c55de7b1edd3fb8fc3411ad0c32a213723d0
4 changes: 0 additions & 4 deletions trunk/net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1092,17 +1092,13 @@ static int get_connections(struct sock *sk, u16 index)

put_unaligned_le16(count, &rp->conn_count);

read_lock(&hci_dev_list_lock);

i = 0;
list_for_each(p, &hdev->conn_hash.list) {
struct hci_conn *c = list_entry(p, struct hci_conn, list);

bacpy(&rp->conn[i++], &c->dst);
}

read_unlock(&hci_dev_list_lock);

err = cmd_complete(sk, index, MGMT_OP_GET_CONNECTIONS, rp, rp_len);

unlock:
Expand Down

0 comments on commit 46fce1a

Please sign in to comment.