summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/mgmt.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-02-18 17:14:34 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-02-18 08:58:20 -0800
commitb7d448d74a09af412d778918415fe2ea4d5c2de4 (patch)
tree197e61f024c1cf644107b6f1a830a4fd5381b273 /net/bluetooth/mgmt.c
parentc51ffa0b2fb23ec19b2d01597506d8c953ed1218 (diff)
Bluetooth: Fix completing SMP as peripheral when no keys are expected
When we're the acceptors (peripheral/slave) of an SMP procedure and we've completed distributing our keys we should only stick around waiting for keys from the remote side if any of the initiator distribution bits were actually set. This patch fixes the smp_distribute_keys function to clear the SMP context when this situation occurs. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/mgmt.c')
0 files changed, 0 insertions, 0 deletions