From: Szymon Janc <szymon.janc@tieto.com>
To: Mariusz Skamra <mariusz.skamra@tieto.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] android/avdtptest: Fix NULL local stream endpoint queue
Date: Wed, 13 May 2015 17:04:05 +0200 [thread overview]
Message-ID: <5844784.NeDgek3HDe@leonov> (raw)
In-Reply-To: <1431417981-24341-1-git-send-email-mariusz.skamra@tieto.com>
Hi Mariusz,
On Tuesday 12 of May 2015 10:06:21 Mariusz Skamra wrote:
> This patch fixes missing queue_new()
> ---
> android/avdtptest.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/android/avdtptest.c b/android/avdtptest.c
> index f42f664..2e07d7e 100644
> --- a/android/avdtptest.c
> +++ b/android/avdtptest.c
> @@ -866,6 +866,12 @@ int main(int argc, char *argv[])
> }
> }
>
> + lseps = queue_new();
> + if (!lseps) {
> + printf("Failed to allocate memory\n");
> + exit(0);
> + }
> +
> local_sep = avdtp_register_sep(lseps, dev_role, AVDTP_MEDIA_TYPE_AUDIO,
> 0x00, TRUE, &sep_ind, &sep_cfm, NULL);
> if (!local_sep) {
Patch applied, thanks.
--
BR
Szymon Janc
prev parent reply other threads:[~2015-05-13 15:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-12 8:06 [PATCH] android/avdtptest: Fix NULL local stream endpoint queue Mariusz Skamra
2015-05-13 15:04 ` Szymon Janc [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5844784.NeDgek3HDe@leonov \
--to=szymon.janc@tieto.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=mariusz.skamra@tieto.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox