summaryrefslogtreecommitdiff
path: root/profiles/health
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2014-06-30 15:53:48 +0300
committerSzymon Janc <szymon.janc@tieto.com>2014-06-30 15:14:09 +0200
commit53614a47e41864ac00939264ed23cef86feac69d (patch)
treebe1b94853dd207f6bf8d91c46657557a126105a5 /profiles/health
parent8bc8a1d7b7c46df9a4fdeed79e0461169b7cc4b1 (diff)
downloadbluez-53614a47e41864ac00939264ed23cef86feac69d.tar.gz
HDP: Fix adding missing breaks
Diffstat (limited to 'profiles/health')
-rw-r--r--profiles/health/hdp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/profiles/health/hdp.c b/profiles/health/hdp.c
index 54aca9df9..d09bdd4c9 100644
--- a/profiles/health/hdp.c
+++ b/profiles/health/hdp.c
@@ -1066,6 +1066,7 @@ static uint8_t hdp_mcap_mdl_conn_req_cb(struct mcap_mcl *mcl, uint8_t mdepid,
switch (*conf) {
case HDP_NO_PREFERENCE_DC:
*conf = HDP_RELIABLE_DC;
+ break;
case HDP_RELIABLE_DC:
break;
case HDP_STREAMING_DC:
@@ -1112,6 +1113,7 @@ static uint8_t hdp_mcap_mdl_conn_req_cb(struct mcap_mcl *mcl, uint8_t mdepid,
case HDP_STREAMING_DC:
if (!dev->fr || app->role == HDP_SOURCE)
return MCAP_CONFIGURATION_REJECTED;
+ break;
case HDP_RELIABLE_DC:
if (app->role == HDP_SOURCE)
return MCAP_CONFIGURATION_REJECTED;