]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix input address type for SMP C1 function
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 13 Oct 2013 12:24:02 +0000 (05:24 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 13 Oct 2013 14:48:47 +0000 (17:48 +0300)
commite4ca8724fde4e89f9eb8136bfb4a7184aa4dc6b9
tree287d7faf086cfc1ee98a5c89d6a1431b66a1091b
parenta1e17621517d5d0ae736deb85bf73d2a4eff0ff0
Bluetooth: Fix input address type for SMP C1 function

The smp_c1() so far always assumed public addresses as input for its
operation. However it should provide actually the source address type
of the actual connection.

Finally the source address type is tracked in hci_conn->src_type and
so use that one as input.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/smp.c