diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2011-11-10 17:07:34 -0500 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-11-16 12:57:12 -0500 |
commit | ba4e564f60064689661882c84fa2ee63e39b457e (patch) | |
tree | c172585dcf74daf859efde465fff78d3e6b21cab /include/net/bluetooth/mgmt.h | |
parent | e6d465cb482935c26cb4065a6ab9ce987c067da3 (diff) |
Bluetooth: Add address type to mgmt_pair_device
The kernel needs to know whether it should connect to a device over
BR/EDR or over LE. This is particularly important in the future when
dual-mode device may be connectable also over LE. It is also important
if/when we decide to move the LE advertisement cache from the kernel
into user-space. Adding the type to the mgmt command also ensures
conformance with the latest mgmt API spec.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r-- | include/net/bluetooth/mgmt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index 8b07a83dd94d..bfdb04bd780e 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h | |||
@@ -172,11 +172,11 @@ struct mgmt_cp_set_io_capability { | |||
172 | 172 | ||
173 | #define MGMT_OP_PAIR_DEVICE 0x0014 | 173 | #define MGMT_OP_PAIR_DEVICE 0x0014 |
174 | struct mgmt_cp_pair_device { | 174 | struct mgmt_cp_pair_device { |
175 | bdaddr_t bdaddr; | 175 | struct mgmt_addr_info addr; |
176 | __u8 io_cap; | 176 | __u8 io_cap; |
177 | } __packed; | 177 | } __packed; |
178 | struct mgmt_rp_pair_device { | 178 | struct mgmt_rp_pair_device { |
179 | bdaddr_t bdaddr; | 179 | struct mgmt_addr_info addr; |
180 | __u8 status; | 180 | __u8 status; |
181 | } __packed; | 181 | } __packed; |
182 | 182 | ||