diff options
author | Daniel Orstadius <daniel.orstadius@nokia.com> | 2011-03-08 14:33:55 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2011-03-10 11:06:16 +0200 |
commit | 8c0b3c9c8e67f45c7679062c897bea5bccd164dc (patch) | |
tree | c940388d53d2797ffbbc4b290ce192a8a5fbc15c /audio | |
parent | b903344d92e57dba63654e347d200d27f4566837 (diff) | |
download | bluez-8c0b3c9c8e67f45c7679062c897bea5bccd164dc.tar.gz |
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.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/avdtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c index 6ba97940..83b1aa2f 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 |