diff options
| author | Johan Hedberg <[email protected]> | 2014-02-28 17:45:46 +0200 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2014-02-28 07:56:42 -0800 |
| commit | 9489eca4ab2fd5d9bbf3bab992168cc8107fc3e9 (patch) | |
| tree | ce538aec7505fcf547a3ad7aad3607e99a0db3d1 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
| parent | a7139edd28215623e80c998edd34b3f750c5efc6 (diff) | |
Bluetooth: Add timeout for LE connection attempts
LE connection attempts do not have a controller side timeout in the same
way as BR/EDR has (in form of the page timeout). Since we always do
scanning before initiating connections the attempts are always expected
to succeed in some reasonable time.
This patch adds a timer which forces a cancellation of the connection
attempt within 20 seconds if it has not been successful by then. This
way we e.g. ensure that mgmt_pair_device times out eventually and gives
an error response.
Signed-off-by: Johan Hedberg <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions