Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352249
b: refs/heads/master
c: 4ae1430
h: refs/heads/master
i:
  352247: f582945
v: v3
  • Loading branch information
Johan Hedberg authored and Gustavo Padovan committed Jan 23, 2013
1 parent cdaf840 commit 2d65bc3
Show file tree
Hide file tree
Showing 2 changed files with 5 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: f950a30e2433f049c17fc47caced1397d25373a6
refs/heads/master: 4ae14301c3b180adaf6b72285499e7404819a023
4 changes: 4 additions & 0 deletions trunk/net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1519,6 +1519,10 @@ static int load_link_keys(struct sock *sk, struct hci_dev *hdev, void *data,
MGMT_STATUS_INVALID_PARAMS);
}

if (cp->debug_keys != 0x00 && cp->debug_keys != 0x01)
return cmd_status(sk, hdev->id, MGMT_OP_LOAD_LINK_KEYS,
MGMT_STATUS_INVALID_PARAMS);

BT_DBG("%s debug_keys %u key_count %u", hdev->name, cp->debug_keys,
key_count);

Expand Down

0 comments on commit 2d65bc3

Please sign in to comment.