Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290981
b: refs/heads/master
c: 48c7aba
h: refs/heads/master
i:
  290979: 74876da
v: v3
  • Loading branch information
Johan Hedberg committed Feb 19, 2012
1 parent 173ba6e commit 0605d22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 2da9c55c5a4a0b8f0348b7acd70d8b08a6ae4573
refs/heads/master: 48c7aba91f372251867d15efc9cf694ceee2de02
4 changes: 2 additions & 2 deletions trunk/net/bluetooth/hci_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst, __u8
if (!acl) {
acl = hci_conn_add(hdev, ACL_LINK, dst);
if (!acl)
return NULL;
return ERR_PTR(-ENOMEM);
}

hci_conn_hold(acl);
Expand All @@ -571,7 +571,7 @@ struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst, __u8
sco = hci_conn_add(hdev, type, dst);
if (!sco) {
hci_conn_put(acl);
return NULL;
return ERR_PTR(-ENOMEM);
}
}

Expand Down

0 comments on commit 0605d22

Please sign in to comment.