From: Johan Hedberg Date: Fri, 20 Feb 2015 11:48:24 +0000 (+0200) Subject: Bluetooth: Use hci_copy_identity_addr() helper for SMP chan creation X-Git-Tag: omap-for-v4.2/o2_dc~131^2~375^2~10 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39e3e74423a35bfc95b077fb65acaa00d1d39d64;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed