Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247625
b: refs/heads/master
c: 365227e
h: refs/heads/master
i:
  247623: 5ab61e4
v: v3
  • Loading branch information
Vinicius Costa Gomes authored and Gustavo F. Padovan committed May 11, 2011
1 parent 3192e0c commit fc19d15
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 83bc71b4102d2a288edaf9ee398b330b88a88086
refs/heads/master: 365227e5fdf3d117e096416d9d3cc148959a829e
3 changes: 3 additions & 0 deletions trunk/net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,9 @@ static int disconnect(struct sock *sk, u16 index, unsigned char *data, u16 len)
}

conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &cp->bdaddr);
if (!conn)
conn = hci_conn_hash_lookup_ba(hdev, LE_LINK, &cp->bdaddr);

if (!conn) {
err = cmd_status(sk, index, MGMT_OP_DISCONNECT, ENOTCONN);
goto failed;
Expand Down

0 comments on commit fc19d15

Please sign in to comment.