Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314470
b: refs/heads/master
c: dfc94db
h: refs/heads/master
v: v3
  • Loading branch information
Andrzej Kaczmarek authored and Johan Hedberg committed Jun 5, 2012
1 parent 7295208 commit 116a6fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f0f6279976c8f0768468293546785c18894a704c
refs/heads/master: dfc94dbdb999154dc2ff44e6011a4912c0b29e88
5 changes: 5 additions & 0 deletions trunk/net/bluetooth/hci_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,11 @@ struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst,
if (type == LE_LINK) {
le = hci_conn_hash_lookup_ba(hdev, LE_LINK, dst);
if (!le) {
le = hci_conn_hash_lookup_state(hdev, LE_LINK,
BT_CONNECT);
if (le)
return ERR_PTR(-EBUSY);

le = hci_conn_add(hdev, LE_LINK, dst);
if (!le)
return ERR_PTR(-ENOMEM);
Expand Down

0 comments on commit 116a6fb

Please sign in to comment.