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)
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>

No differences found