aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorJohan Hedberg <[email protected]>2014-07-01 18:40:20 +0300
committerMarcel Holtmann <[email protected]>2014-07-03 17:42:53 +0200
commit854f47278fb36f4904649b994acf559e13920232 (patch)
treed71450cfb145242ed67b02bde8388d5dffa484a7 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentc70a7e4cc8d22cb1ce684637ef8a4bb3a80d15b7 (diff)
Bluetooth: Fix redundant encryption when receiving Security Request
If we're already encrypted with a good enough LTK we should just ignore an incoming SMP Security Request. The code was already taking care of this in the smp_conn_security function before calling smp_ltk_encrypt but failed to do the same in smp_cmd_security_req. This patch fixes the issue by moving up the smp_sufficient_security function and using it in the Security Request handler before trying to request encryption. Signed-off-by: Johan Hedberg <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions