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)
commit4bd6d38e7f58b163138d3fea8fa135de523bfb92
treec1572b714199a3b0e053db49d201a31d3173aa2c
parentefabba37fec4cf093fedcfcba443d0f04b606eb4
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