From 932e6420606930d412e1e9a0fec1f82afffbba46 Mon Sep 17 00:00:00 2001 From: Kiran K Date: Fri, 20 Oct 2023 19:55:52 +0530 Subject: [PATCH] bap: Do not set default location for sink and source let the clients register the required location for source and sink endpoints. --- src/shared/bap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/shared/bap.c b/src/shared/bap.c index 1f9760d0d..e4d110dda 100644 --- a/src/shared/bap.c +++ b/src/shared/bap.c @@ -475,9 +475,8 @@ static struct bt_pacs *pacs_new(struct gatt_db *db) pacs = new0(struct bt_pacs, 1); - /* Set default values */ - pacs->sink_loc_value = PACS_SNK_LOCATION; - pacs->source_loc_value = PACS_SRC_LOCATION; + pacs->sink_loc_value = 0; + pacs->source_loc_value = 0; pacs->sink_context_value = PACS_SNK_CTXT; pacs->source_context_value = PACS_SRC_CTXT; pacs->supported_sink_context_value = PACS_SUPPORTED_SNK_CTXT; -- 2.47.3