Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203866
b: refs/heads/master
c: 963cf68
h: refs/heads/master
v: v3
  • Loading branch information
João Paulo Rechi Vita authored and Marcel Holtmann committed Jul 21, 2010
1 parent 6773368 commit eb3025e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 7a560e5c99dc5f03e2c0dbe05ed20008af5d0bcf
refs/heads/master: 963cf687e825f7a59817f145a1ea19bdc224a18f
6 changes: 3 additions & 3 deletions trunk/net/bluetooth/l2cap.c
Original file line number Diff line number Diff line change
Expand Up @@ -4415,7 +4415,7 @@ static int l2cap_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type)
struct hlist_node *node;

if (type != ACL_LINK)
return 0;
return -EINVAL;

BT_DBG("hdev %s, bdaddr %s", hdev->name, batostr(bdaddr));

Expand Down Expand Up @@ -4448,7 +4448,7 @@ static int l2cap_connect_cfm(struct hci_conn *hcon, u8 status)
BT_DBG("hcon %p bdaddr %s status %d", hcon, batostr(&hcon->dst), status);

if (hcon->type != ACL_LINK)
return 0;
return -EINVAL;

if (!status) {
conn = l2cap_conn_add(hcon, status);
Expand Down Expand Up @@ -4477,7 +4477,7 @@ static int l2cap_disconn_cfm(struct hci_conn *hcon, u8 reason)
BT_DBG("hcon %p reason %d", hcon, reason);

if (hcon->type != ACL_LINK)
return 0;
return -EINVAL;

l2cap_conn_del(hcon, bt_err(reason));

Expand Down

0 comments on commit eb3025e

Please sign in to comment.