Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290911
b: refs/heads/master
c: 7a7f1e7
h: refs/heads/master
i:
  290909: fd97a50
  290907: 0dc1f56
  290903: 4964dbe
  290895: 37c2fd3
  290879: 7835871
v: v3
  • Loading branch information
Hemant Gupta authored and Johan Hedberg committed Feb 13, 2012
1 parent 4d31c71 commit f7fbdf4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: b7d05bad1c10a363b6b99f66ac1fa76b6892e618
refs/heads/master: 7a7f1e7c857959f5298020969741e389f21edbae
5 changes: 4 additions & 1 deletion trunk/net/bluetooth/hci_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -2965,7 +2965,10 @@ static inline void hci_io_capa_request_evt(struct hci_dev *hdev, struct sk_buff
struct hci_cp_io_capability_reply cp;

bacpy(&cp.bdaddr, &ev->bdaddr);
cp.capability = conn->io_capability;
/* Change the IO capability from KeyboardDisplay
* to DisplayYesNo as it is not supported by BT spec. */
cp.capability = (conn->io_capability == 0x04) ?
0x01 : conn->io_capability;
conn->auth_type = hci_get_auth_req(conn);
cp.authentication = conn->auth_type;

Expand Down

0 comments on commit f7fbdf4

Please sign in to comment.