bluetooth: audio: broadcast: Fix missing update of meta_len
The length of the updated metadata was not updated. Fixes the CAP/INI/BST/BV-13-C test case. Signed-off-by: Magdalena Kasenberg <magdalena.kasenberg@codecoup.pl>
This commit is contained in:
parent
8e1bc2b058
commit
e05d964b46
1 changed files with 1 additions and 0 deletions
|
@ -938,6 +938,7 @@ int bt_bap_broadcast_source_update_metadata(struct bt_bap_broadcast_source *sour
|
|||
SYS_SLIST_FOR_EACH_CONTAINER(&source->subgroups, subgroup, _node) {
|
||||
memset(subgroup->codec_cfg->meta, 0, sizeof(subgroup->codec_cfg->meta));
|
||||
memcpy(subgroup->codec_cfg->meta, meta, meta_len);
|
||||
subgroup->codec_cfg->meta_len = meta_len;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue