Hi, On Mon, Aug 10, 2015 at 1:24 PM, Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx> wrote: > From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> > > AVDTP_Suspend can contain several Stream Endpoing IDs to be suspended. > --- > android/avdtp.c | 2 +- > profiles/audio/avdtp.c | 3 +-- > 2 files changed, 2 insertions(+), 3 deletions(-) > > diff --git a/android/avdtp.c b/android/avdtp.c > index 7e61280..1f79e74 100644 > --- a/android/avdtp.c > +++ b/android/avdtp.c > @@ -1678,7 +1678,7 @@ static gboolean avdtp_suspend_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; > diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c > index 37f7a59..9c33373 100644 > --- a/profiles/audio/avdtp.c > +++ b/profiles/audio/avdtp.c > @@ -1822,8 +1822,7 @@ static gboolean avdtp_suspend_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; > -- > 2.1.0 Applied. -- Luiz Augusto von Dentz -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html