projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55bc1a3
)
Bluetooth: Fix reason code for pairing rejection
author
Johan Hedberg
<johan.hedberg@nokia.com>
Thu, 28 Apr 2011 18:28:57 +0000
(11:28 -0700)
committer
Gustavo F. Padovan
<padovan@profusion.mobi>
Thu, 28 Apr 2011 19:14:38 +0000
(16:14 -0300)
"Pairing not allowed" is 0x18 and not 0x16.
Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_event.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/hci_event.c
b/net/bluetooth/hci_event.c
index 29310c78ebb35a0c86f905b8c8dc696fbe6bcdc0..d535ea4ccbed3c0db68d275c4cfb2e0d11750cc1 100644
(file)
--- a/
net/bluetooth/hci_event.c
+++ b/
net/bluetooth/hci_event.c
@@
-2462,7
+2462,7
@@
static inline void hci_io_capa_request_evt(struct hci_dev *hdev, struct sk_buff
struct hci_cp_io_capability_neg_reply cp;
bacpy(&cp.bdaddr, &ev->bdaddr);
- cp.reason = 0x1
6
; /* Pairing not allowed */
+ cp.reason = 0x1
8
; /* Pairing not allowed */
hci_send_cmd(hdev, HCI_OP_IO_CAPABILITY_NEG_REPLY,
sizeof(cp), &cp);