From 8c0b3c9c8e67f45c7679062c897bea5bccd164dc Mon Sep 17 00:00:00 2001 From: Daniel Orstadius Date: Tue, 8 Mar 2011 14:33:55 +0200 Subject: [PATCH] Increase AVDTP request timeout At least one headset with both A2DP and PBAP sends delayed responses to AVDTP requests when it is doing PBAP queries (typically at the beginning of the connection). Increasing the timer by two seconds to give the headset more time to reply, to avoid aborting the AVDTP connection. --- audio/avdtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/avdtp.c b/audio/avdtp.c index 6ba979400..83b1aa2fb 100644 --- a/audio/avdtp.c +++ b/audio/avdtp.c @@ -85,7 +85,7 @@ #define AVDTP_MSG_TYPE_ACCEPT 0x02 #define AVDTP_MSG_TYPE_REJECT 0x03 -#define REQ_TIMEOUT 4 +#define REQ_TIMEOUT 6 #define ABORT_TIMEOUT 2 #define DISCONNECT_TIMEOUT 1 #define STREAM_TIMEOUT 20 -- 2.47.3