Bluetooth: Add SMP-internal timeout callback
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 11 Aug 2014 19:06:40 +0000 (22:06 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 14 Aug 2014 06:49:23 +0000 (08:49 +0200)
commitb68fda6848ebef3499905500971d40b84faa8319
tree8ce078288beb4135d0d9b172443cae67e38d6818
parent8ae9b9845b3252216cf5d2e033e5cca41bae48ef
Bluetooth: Add SMP-internal timeout callback

This patch adds an SMP-internal timeout callback to remove the depenency
on (the soon to be removed) l2cap_conn->security_timer. The behavior is
the same as with l2cap_conn->security_timer except that the new
l2cap_conn_shutdown() public function is used instead of the L2CAP core
internal l2cap_conn_del().

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