Bluetooth: Remove unnecessary deferred work for SMP key distribution
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 5 Sep 2014 19:19:51 +0000 (22:19 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 8 Sep 2014 17:07:56 +0000 (19:07 +0200)
commitd6268e86a12a94a4f5193551c2367162e6a37db4
tree3b2a4febc9bdf6d7408b44eb762ac0f3c0e2baa4
parentf3d82d0c8ec025fc113408e3ad5775fed5a060ff
Bluetooth: Remove unnecessary deferred work for SMP key distribution

Now that the identity address update happens through its own deferred
work there's no need to have smp_distribute_keys anymore behind a second
deferred work. This patch removes this extra construction and makes the
code do direct calls to smp_distribute_keys() again.

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