summaryrefslogtreecommitdiff
path: root/net/bluetooth/l2cap_core.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-09-05 19:19:49 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2014-09-08 17:07:55 (GMT)
commit84bc0db53b3a425fb992d5fed25b575e4434167a (patch)
tree14d8fcaad50a3e793a394a0587eacbbd3a97c6e1 /net/bluetooth/l2cap_core.c
parent1b0921d6be7860271ccf6027891b8215fc28cde5 (diff)
downloadlinux-84bc0db53b3a425fb992d5fed25b575e4434167a.tar.xz
Bluetooth: Don't take any action in smp_resume_cb if not encrypted
When smp_resume_cb is called if we're not encrypted (i.e. the callback wasn't called because the connection became encrypted) we shouldn't take any action at all. This patch moves also the security_timer cancellation behind this condition. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
0 files changed, 0 insertions, 0 deletions