From 95255db9642172f1ae7f47ffe9bd1ce55458cb04 Mon Sep 17 00:00:00 2001 From: Mariusz Skamra Date: Wed, 29 Jun 2022 12:10:29 +0200 Subject: [PATCH] Bluetooth: has: Fix missing supported feature flag The implementtaion supports dynamic presets i.e. changing it's name, registration and unregistration of the presets, thus Dynamic Presets feature flag shall be set. Fixes: HAS/SR/FEAT/BV-05-C Signed-off-by: Mariusz Skamra --- subsys/bluetooth/audio/has.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subsys/bluetooth/audio/has.c b/subsys/bluetooth/audio/has.c index 325ed96ab3d..8bec214429c 100644 --- a/subsys/bluetooth/audio/has.c +++ b/subsys/bluetooth/audio/has.c @@ -1050,6 +1050,7 @@ static int has_init(const struct device *dev) /* Initialize the supported features characteristic value */ has.features = CONFIG_BT_HAS_HEARING_AID_TYPE & BT_HAS_FEAT_HEARING_AID_TYPE_MASK; + has.features |= BT_HAS_FEAT_DYNAMIC_PRESETS; if (IS_ENABLED(CONFIG_BT_HAS_HEARING_AID_BINAURAL)) { if (IS_ENABLED(CONFIG_BT_HAS_PRESET_SYNC_SUPPORT)) {