Diff between faf90d0d52abf609bef26cf65e3aafa7f752d844 and 0a295fa8eac5cf3ceb1a6041102c3d64e6e37a31

Changed Files

File Additions Deletions Status
profiles/health/hdp_util.c +1 -4 modified

Full Patch

diff --git a/profiles/health/hdp_util.c b/profiles/health/hdp_util.c
index 47c464e..75ae439 100644
--- a/profiles/health/hdp_util.c
+++ b/profiles/health/hdp_util.c
@@ -425,11 +425,8 @@ static gboolean register_service_protocols(struct hdp_adapter *adapter,
 		goto end;
 	}
 
-	if (sdp_set_access_protos(sdp_record, access_proto_list) < 0) {
-		ret = FALSE;
-		goto end;
-	}
 	ret = TRUE;
+	sdp_set_access_protos(sdp_record, access_proto_list);
 
 end:
 	if (l2cap_list != NULL)