]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove unneeded "force" parameter from smp_distribute_keys()
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 26 Feb 2014 21:33:45 +0000 (23:33 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 26 Feb 2014 21:46:04 +0000 (13:46 -0800)
commitc1862af27c3e2be155d79c85d1c85f70250407c9
treec1572b714199a3b0e053db49d201a31d3173aa2c
parentd33495b7a182fb68950e69e35653ca82b0c5a3f3
Bluetooth: Remove unneeded "force" parameter from smp_distribute_keys()

Now that to-be-received keys are properly tracked we no-longer need the
"force" parameter to smp_distribute_keys(). It was essentially acting as
an indicator whether all keys have been received, but now it's just
redundant together with smp->remote_key_dist.

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