diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2011-02-19 10:05:59 -0500 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-02-21 15:22:44 -0500 |
commit | ac56fb13c0508181b4227b8ada6d47aaaf72794c (patch) | |
tree | 204274e61cc84931e275d5a6ef65102bb4efe864 /include | |
parent | 59a24b5d0d4befc2498f51c57905cb02963ff275 (diff) |
Bluetooth: Fix mgmt_pin_code_reply return parameters
The command complete event for mgmt_pin_code_reply &
mgmt_pin_code_neg_reply should have the adapter index, Bluetooth address
as well as the status.
Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/mgmt.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index 52376a3295ca..5aee200e5e36 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h | |||
@@ -147,6 +147,11 @@ struct mgmt_cp_pin_code_reply { | |||
147 | __u8 pin_len; | 147 | __u8 pin_len; |
148 | __u8 pin_code[16]; | 148 | __u8 pin_code[16]; |
149 | } __packed; | 149 | } __packed; |
150 | struct mgmt_rp_pin_code_reply { | ||
151 | __le16 index; | ||
152 | bdaddr_t bdaddr; | ||
153 | uint8_t status; | ||
154 | } __packed; | ||
150 | 155 | ||
151 | #define MGMT_OP_PIN_CODE_NEG_REPLY 0x0012 | 156 | #define MGMT_OP_PIN_CODE_NEG_REPLY 0x0012 |
152 | struct mgmt_cp_pin_code_neg_reply { | 157 | struct mgmt_cp_pin_code_neg_reply { |