From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [RFC BlueZ 2/2] AVDTP: Fix passing uninitialized err to ind->open
Date: Tue, 19 Feb 2013 16:33:56 +0200 [thread overview]
Message-ID: <1361284436-4584-2-git-send-email-luiz.dentz@gmail.com> (raw)
In-Reply-To: <1361284436-4584-1-git-send-email-luiz.dentz@gmail.com>
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
---
profiles/audio/avdtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c
index 403a22b..0205644 100644
--- a/profiles/audio/avdtp.c
+++ b/profiles/audio/avdtp.c
@@ -1706,7 +1706,7 @@ static gboolean avdtp_open_cmd(struct avdtp *session, uint8_t transaction,
stream = sep->stream;
if (sep->ind && sep->ind->open) {
- if (!sep->ind->open(session, sep, stream, &err,
+ if (!sep->ind->open(session, sep, stream, NULL,
sep->user_data))
goto failed;
}
--
1.8.1.2
next prev parent reply other threads:[~2013-02-19 14:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-19 14:33 [RFC BlueZ 1/2] A2DP: Mark start flag if resume happen while in configured state Luiz Augusto von Dentz
2013-02-19 14:33 ` Luiz Augusto von Dentz [this message]
2013-02-19 15:06 ` Mikel Astiz
2013-02-19 15:30 ` Luiz Augusto von Dentz
2013-02-20 13:37 ` Mikel Astiz
2013-02-22 12:00 ` Luiz Augusto von Dentz
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=1361284436-4584-2-git-send-email-luiz.dentz@gmail.com \
--to=luiz.dentz@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/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