Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103659
b: refs/heads/master
c: 9dc0a3a
h: refs/heads/master
i:
  103657: ec2fb29
  103655: 39ce64d
v: v3
  • Loading branch information
Marcel Holtmann committed Jul 14, 2008
1 parent d9eebb9 commit 942fa09
Show file tree
Hide file tree
Showing 2 changed files with 11 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: ae29319649b80ed9d28d7b4f164e3f5f75020fc8
refs/heads/master: 9dc0a3afc08d6c20c284994dcd84531787d00ec2
12 changes: 10 additions & 2 deletions trunk/net/bluetooth/hci_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1314,8 +1314,16 @@ static inline void hci_sync_conn_complete_evt(struct hci_dev *hdev, struct sk_bu
hci_dev_lock(hdev);

conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, &ev->bdaddr);
if (!conn)
goto unlock;
if (!conn) {
if (ev->link_type == ESCO_LINK)
goto unlock;

conn = hci_conn_hash_lookup_ba(hdev, ESCO_LINK, &ev->bdaddr);
if (!conn)
goto unlock;

conn->type = SCO_LINK;
}

if (!ev->status) {
conn->handle = __le16_to_cpu(ev->handle);
Expand Down

0 comments on commit 942fa09

Please sign in to comment.