]> git.openpandora.org Git - pandora-kernel.git/commitdiff
Bluetooth: Use hci_copy_identity_addr() helper for SMP chan creation
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 20 Feb 2015 11:48:24 +0000 (13:48 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 20 Feb 2015 17:15:41 +0000 (18:15 +0100)
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>

No differences found