Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266333
b: refs/heads/master
c: c908df3
h: refs/heads/master
i:
  266331: cf3ffab
v: v3
  • Loading branch information
Vinicius Costa Gomes authored and Gustavo F. Padovan committed Sep 21, 2011
1 parent f7f986a commit 5e760c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: e9bf2bf03e14627fac8520468231ea11dfa37610
refs/heads/master: c908df362c20be0eeef506fe62e13d835a4633f9
8 changes: 3 additions & 5 deletions trunk/net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1365,13 +1365,11 @@ static int pair_device(struct sock *sk, u16 index, unsigned char *data, u16 len)

hci_dev_lock_bh(hdev);

if (cp->io_cap == 0x03) {
sec_level = BT_SECURITY_MEDIUM;
sec_level = BT_SECURITY_MEDIUM;
if (cp->io_cap == 0x03)
auth_type = HCI_AT_DEDICATED_BONDING;
} else {
sec_level = BT_SECURITY_HIGH;
else
auth_type = HCI_AT_DEDICATED_BONDING_MITM;
}

entry = hci_find_adv_entry(hdev, &cp->bdaddr);
if (entry)
Expand Down

0 comments on commit 5e760c9

Please sign in to comment.