diff options
| author | 2011-01-19 12:06:50 +0530 | |
|---|---|---|
| committer | 2011-01-19 14:40:43 -0200 | |
| commit | 8556edd32f01c50a3c99e44dc2c3b1252ea59605 (patch) | |
| tree | b0e9d426b7a17ad201c782d4e0c09fbddfe81730 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | Bluetooth: Fix MITM protection requirement preservation (diff) | |
| download | linux-dev-8556edd32f01c50a3c99e44dc2c3b1252ea59605.tar.xz linux-dev-8556edd32f01c50a3c99e44dc2c3b1252ea59605.zip | |
Bluetooth: Create a unified auth_type evaluation function
The logic for determining the needed auth_type for an L2CAP socket is
rather complicated and has so far been duplicated in
l2cap_check_security as well as l2cap_do_connect. Additionally the
l2cap_check_security code was completely missing the handling of
SOCK_RAW type sockets. This patch creates a unified function for the
evaluation and makes l2cap_do_connect and l2cap_check_security use that
function.
Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
