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 <mariusz.skamra@codecoup.pl>
This commit is contained in:
parent
cf30ac2bfc
commit
95255db964
1 changed files with 1 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue