summaryrefslogtreecommitdiff
path: root/health
diff options
context:
space:
mode:
authorSantiago Carot-Nemesio <sancane@gmail.com>2010-10-25 15:43:59 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2010-10-25 14:28:14 -0200
commitc1e72570fc792623f0b6e3b8f30851dd3e2ada6d (patch)
treefe821a8e82fcd7125c95f6b7a5380b722462bb54 /health
parentc17e321e42999713298a357e83071e1f8c3d1b34 (diff)
downloadbluez-c1e72570fc792623f0b6e3b8f30851dd3e2ada6d.tar.gz
Send a proper configuration when a source doesn't have a first reliable
Diffstat (limited to 'health')
-rw-r--r--health/hdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/health/hdp.c b/health/hdp.c
index fd3b1caa2..10f4c5f76 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;