* [PATCH] Send a proper configuration when a source doesn't have a first reliable
@ 2010-10-25 13:43 Santiago Carot-Nemesio
2010-10-25 16:29 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: Santiago Carot-Nemesio @ 2010-10-25 13:43 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Santiago Carot-Nemesio
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Send a proper configuration when a source doesn't have a first reliable
2010-10-25 13:43 [PATCH] Send a proper configuration when a source doesn't have a first reliable Santiago Carot-Nemesio
@ 2010-10-25 16:29 ` Johan Hedberg
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2010-10-25 16:29 UTC (permalink / raw)
To: Santiago Carot-Nemesio; +Cc: linux-bluetooth
Hi,
On Mon, Oct 25, 2010, Santiago Carot-Nemesio wrote:
> ---
> 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;
Pushed upstream. Thanks.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-25 16:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-25 13:43 [PATCH] Send a proper configuration when a source doesn't have a first reliable Santiago Carot-Nemesio
2010-10-25 16:29 ` Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox