aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-17 07:24:57 -0500
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-17 07:39:16 -0500
commitd8457698e7f23a05055396a15ec72ba663282867 (patch)
treea3e5e0b749cbdbf19e1224aebc6c8cabd32397cb /include/net/bluetooth
parentd753fdc40f60da2eef03b4816392081a552fea5a (diff)
Bluetooth: mgmt: Add address type to PIN code messages
The latest mgmt API includes address types for all messages containing an address. This patch updates the PIN code messages to match this. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/mgmt.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 5aafe929d01..eb584cc287d 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -199,18 +199,18 @@ struct mgmt_rp_get_connections {
199 199
200#define MGMT_OP_PIN_CODE_REPLY 0x0016 200#define MGMT_OP_PIN_CODE_REPLY 0x0016
201struct mgmt_cp_pin_code_reply { 201struct mgmt_cp_pin_code_reply {
202 bdaddr_t bdaddr; 202 struct mgmt_addr_info addr;
203 __u8 pin_len; 203 __u8 pin_len;
204 __u8 pin_code[16]; 204 __u8 pin_code[16];
205} __packed; 205} __packed;
206struct mgmt_rp_pin_code_reply { 206struct mgmt_rp_pin_code_reply {
207 bdaddr_t bdaddr; 207 struct mgmt_addr_info addr;
208 uint8_t status; 208 uint8_t status;
209} __packed; 209} __packed;
210 210
211#define MGMT_OP_PIN_CODE_NEG_REPLY 0x0017 211#define MGMT_OP_PIN_CODE_NEG_REPLY 0x0017
212struct mgmt_cp_pin_code_neg_reply { 212struct mgmt_cp_pin_code_neg_reply {
213 bdaddr_t bdaddr; 213 struct mgmt_addr_info addr;
214} __packed; 214} __packed;
215 215
216#define MGMT_OP_SET_IO_CAPABILITY 0x0018 216#define MGMT_OP_SET_IO_CAPABILITY 0x0018
@@ -377,7 +377,7 @@ struct mgmt_ev_connect_failed {
377 377
378#define MGMT_EV_PIN_CODE_REQUEST 0x000E 378#define MGMT_EV_PIN_CODE_REQUEST 0x000E
379struct mgmt_ev_pin_code_request { 379struct mgmt_ev_pin_code_request {
380 bdaddr_t bdaddr; 380 struct mgmt_addr_info addr;
381 __u8 secure; 381 __u8 secure;
382} __packed; 382} __packed;
383 383