From: Wootak Jung Date: Sun, 17 Mar 2024 22:42:11 +0000 (+0900) Subject: Revert "Apply DA model specification" X-Git-Tag: accepted/tizen/7.0/unified/20240318.050115^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F89%2F308089%2F1;p=platform%2Fupstream%2Fbluez.git Revert "Apply DA model specification" This reverts commit 936def7977917acff76828c02a080d91ecb26b95. Change-Id: I3741d5136b021a681c0453b47889040ab34d1b6e --- diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c index a1ecc40f..387b1a06 100644 --- a/profiles/audio/avrcp.c +++ b/profiles/audio/avrcp.c @@ -5294,11 +5294,6 @@ static int avrcp_target_server_probe(struct btd_profile *p, sdp_record_t *record; struct avrcp_server *server; - if (TIZEN_FEATURE_BLUEZ_DA && !TIZEN_FEATURE_BLUEZ_FHUB) { - DBG("AVRCP Target not supported in DA (non-fhub) product"); - return -1; - } - DBG("path %s", adapter_get_path(adapter)); server = find_server(servers, adapter); @@ -5387,11 +5382,6 @@ static int avrcp_controller_server_probe(struct btd_profile *p, sdp_record_t *record; struct avrcp_server *server; - if (TIZEN_FEATURE_BLUEZ_DA && !TIZEN_FEATURE_BLUEZ_FHUB) { - DBG("AVRCP Controller not supported in DA (non-fhub) product"); - return -1; - } - DBG("path %s", adapter_get_path(adapter)); server = find_server(servers, adapter); diff --git a/profiles/audio/media.c b/profiles/audio/media.c index 8619cd84..24fd771b 100644 --- a/profiles/audio/media.c +++ b/profiles/audio/media.c @@ -873,11 +873,6 @@ static gboolean endpoint_init_a2dp_source(struct media_endpoint *endpoint, gboolean delay_reporting, int *err) { - if (TIZEN_FEATURE_BLUEZ_DA && !TIZEN_FEATURE_BLUEZ_FHUB) { - DBG("A2DP source not supported in DA (non-fhub) product"); - return FALSE; - } - endpoint->sep = a2dp_add_sep(endpoint->adapter->btd_adapter, AVDTP_SEP_TYPE_SOURCE, endpoint->codec, delay_reporting, &a2dp_endpoint, @@ -896,11 +891,6 @@ static gboolean endpoint_init_a2dp_sink(struct media_endpoint *endpoint, gboolean delay_reporting, int *err) { - if (TIZEN_FEATURE_BLUEZ_DA && !TIZEN_FEATURE_BLUEZ_FHUB) { - DBG("A2DP sink not supported in DA (non-fhub) product"); - return FALSE; - } - endpoint->sep = a2dp_add_sep(endpoint->adapter->btd_adapter, AVDTP_SEP_TYPE_SINK, endpoint->codec, delay_reporting, &a2dp_endpoint,