Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291055
b: refs/heads/master
c: 9997a53
h: refs/heads/master
i:
  291053: a00b8f5
  291051: 71f1e55
  291047: 97b563e
  291039: 07968f4
v: v3
  • Loading branch information
Johan Hedberg committed Feb 23, 2012
1 parent c2df828 commit 528e457
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 504c8dcd6b0ec3cd36ab221695c5516e88cf3d79
refs/heads/master: 9997a5332320dbaaee64b5c0581ccaa6589a15c9
5 changes: 3 additions & 2 deletions trunk/net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1367,7 +1367,7 @@ static int add_uuid(struct sock *sk, u16 index, void *data, u16 len)
if (err < 0)
goto failed;

err = cmd_complete(sk, index, MGMT_OP_ADD_UUID, 0, NULL, 0);
err = cmd_complete(sk, index, MGMT_OP_ADD_UUID, 0, hdev->dev_class, 3);

failed:
hci_dev_unlock(hdev);
Expand Down Expand Up @@ -1428,7 +1428,8 @@ static int remove_uuid(struct sock *sk, u16 index, void *data, u16 len)
if (err < 0)
goto unlock;

err = cmd_complete(sk, index, MGMT_OP_REMOVE_UUID, 0, NULL, 0);
err = cmd_complete(sk, index, MGMT_OP_REMOVE_UUID, 0,
hdev->dev_class, 3);

unlock:
hci_dev_unlock(hdev);
Expand Down

0 comments on commit 528e457

Please sign in to comment.