Linux bluetooth development
 help / color / mirror / Atom feed
From: Santiago Carot-Nemesio <sancane@gmail.com>
To: linux-bluetooth@vger.kernel.org
Cc: Santiago Carot-Nemesio <sancane@gmail.com>
Subject: [PATCH] Send a proper configuration when a source doesn't have a first reliable
Date: Mon, 25 Oct 2010 15:43:59 +0200	[thread overview]
Message-ID: <1288014239-10832-1-git-send-email-sancane@gmail.com> (raw)

---
 health/hdp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/health/hdp.c b/health/hdp.c
index fd3b1ca..10f4c5f 100644
--- a/health/hdp.c
+++ b/health/hdp.c
@@ -1026,7 +1026,7 @@ static uint8_t hdp_mcap_mdl_conn_req_cb(struct mcap_mcl *mcl, uint8_t mdepid,
 	case HDP_NO_PREFERENCE_DC:
 		if (app->role == HDP_SINK)
 			return MCAP_CONFIGURATION_REJECTED;
-		else if (app->chan_type_set)
+		else if (dev->fr && app->chan_type_set)
 			*conf = app->chan_type;
 		else
 			*conf = HDP_RELIABLE_DC;
-- 
1.7.3.1


             reply	other threads:[~2010-10-25 13:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-25 13:43 Santiago Carot-Nemesio [this message]
2010-10-25 16:29 ` [PATCH] Send a proper configuration when a source doesn't have a first reliable Johan Hedberg

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=1288014239-10832-1-git-send-email-sancane@gmail.com \
    --to=sancane@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