All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Mike Brudevold <puffy.taco@gmail.com>
Cc: linux-bluetooth@vger.kernel.org,
	Michael Brudevold <michael.brudevold@logicpd.com>
Subject: Re: [PATCH] avdtp: fix audio source init check
Date: Tue, 27 Mar 2012 14:52:29 +0300	[thread overview]
Message-ID: <20120327115229.GI14481@x220> (raw)
In-Reply-To: <1332515027-31529-1-git-send-email-puffy.taco@gmail.com>

Hi Mike,

On Fri, Mar 23, 2012, Mike Brudevold wrote:
> From: Michael Brudevold <michael.brudevold@logicpd.com>
> 
> ---
>  audio/avdtp.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/audio/avdtp.c b/audio/avdtp.c
> index cd66fd4..8b36f0b 100644
> --- a/audio/avdtp.c
> +++ b/audio/avdtp.c
> @@ -1520,7 +1520,7 @@ static gboolean avdtp_setconf_cmd(struct avdtp *session, uint8_t transaction,
>  	case AVDTP_SEP_TYPE_SINK:
>  		if (!dev->source) {
>  			btd_device_add_uuid(dev->btd_dev, A2DP_SOURCE_UUID);
> -			if (!dev->sink) {
> +			if (!dev->source) {
>  				error("Unable to get a audio source object");
>  				err = AVDTP_BAD_STATE;
>  				goto failed;

Applied. Thanks.

Johan

      parent reply	other threads:[~2012-03-27 11:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-23 15:03 [PATCH] avdtp: fix audio source init check Mike Brudevold
2012-03-26 14:24 ` Luiz Augusto von Dentz
2012-03-27 11:52 ` Johan Hedberg [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=20120327115229.GI14481@x220 \
    --to=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=michael.brudevold@logicpd.com \
    --cc=puffy.taco@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.