diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-02-20 13:48:24 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-02-20 18:15:41 +0100 |
commit | 39e3e74423a35bfc95b077fb65acaa00d1d39d64 (patch) | |
tree | 0b21ea84a4904ea6b07d6bd3e331309d264a0830 /net/bluetooth/hci_sock.c | |
parent | a2cb01de1cb1db05b946e0132aeecbb514c57024 (diff) |
Bluetooth: Use hci_copy_identity_addr() helper for SMP chan creation
The only reason the SMP code is essentially duplicating the
hci_copy_identity_addr() function is that the helper returns the address
type in the HCI format rather than the three-value format expected by
l2cap_chan. This patch converts the SMP code to use the helper and then
do a simple conversion from one address type to another.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_sock.c')
0 files changed, 0 insertions, 0 deletions