Bluetooth: Fix LE SMP channel source address and source address type
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 14 Jan 2015 23:43:09 +0000 (15:43 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 15 Jan 2015 10:54:30 +0000 (12:54 +0200)
commit157029ba3014e2025170c7bf83bbe7d4ccb16692
tree0f4533650d8d03e3520a928978c1eeba689d5227
parent111e4bccd1e27f0703936aadf41f227a9226e031
Bluetooth: Fix LE SMP channel source address and source address type

The source address and source address type of the LE SMP channel can
either be the public address of the controller or the static random
address configured by the host.

Right now the public address is used for the LE SMP channel and
obviously that is not correct if the controller operates with the
configured static random address.

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