diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2015-08-10 13:16:00 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2015-08-11 13:19:23 +0300 |
commit | 302e4163f39e87fe6ab951bc2e2eb322b43ed6cd (patch) | |
tree | c322f982c2ea17b555e70d6f0403cd402cc656c8 /android/avdtp.c | |
parent | b5c6b1ed97ee6fe03092223c5f4ba8800a186519 (diff) | |
download | bluez-302e4163f39e87fe6ab951bc2e2eb322b43ed6cd.tar.gz |
audio/avdtp: Fix resuming only the first SEID
AVDTP_Start can contain several Stream Endpoing IDs to be resumed.
Diffstat (limited to 'android/avdtp.c')
-rw-r--r-- | android/avdtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/avdtp.c b/android/avdtp.c index 1f79e7427..908c0cac6 100644 --- a/android/avdtp.c +++ b/android/avdtp.c @@ -1567,7 +1567,7 @@ static gboolean avdtp_start_cmd(struct avdtp *session, uint8_t transaction, for (i = 0; i < seid_count; i++, seid++) { failed_seid = seid->seid; - sep = find_local_sep_by_seid(session, req->first_seid.seid); + sep = find_local_sep_by_seid(session, seid->seid); if (!sep || !sep->stream) { err = AVDTP_BAD_ACP_SEID; goto failed; |