Message ID | 20240313194400.1397477-6-luiz.dentz@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | fffa21d084ecc3dfe789a965039980f2cf582a44 |
Headers | show |
Series | [BlueZ,v4,1/6] client/player: Split unicast and broadcast presets | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
tedd_an/CheckPatch | success | CheckPatch PASS |
tedd_an/GitLint | success | Gitlint PASS |
tedd_an/IncrementalBuild | success | Incremental Build PASS |
diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c index 1034202cb8a0..964ba9c212e8 100644 --- a/profiles/audio/bap.c +++ b/profiles/audio/bap.c @@ -841,6 +841,9 @@ static struct bap_setup *setup_new(struct bap_ep *ep) /* Mark BIG and BIS to be auto assigned */ setup->qos.bcast.big = BT_ISO_QOS_BIG_UNSET; setup->qos.bcast.bis = BT_ISO_QOS_BIS_UNSET; + setup->qos.bcast.sync_factor = 0x01; + setup->qos.bcast.sync_timeout = BT_ISO_SYNC_TIMEOUT; + setup->qos.bcast.timeout = BT_ISO_SYNC_TIMEOUT; setup->qos_parser = setup_parse_bcast_qos; setup->destroy = setup_bcast_destroy; } else {
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> This adds proper default for broadcast setup so it doesn't fail to create the socket due to users not setting them. --- profiles/audio/bap.c | 3 +++ 1 file changed, 3 insertions(+)