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)
commitc8462ca65f39d9402c52ef0c5f338a466bb34b43
tree287d7faf086cfc1ee98a5c89d6a1431b66a1091b
parent6f59b904ae57df92915d7ade750853647620db2c
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