Skip to content

Commit ac5e4fe

Browse files
Thalleycarlescufi
authored andcommitted
Bluetooth: Audio: Unicast Client Log more of QoS pref
Add logging of some missing fields of the QoS preference we receiver from the unicast server. Signed-off-by: Emil Gydesen <[email protected]>
1 parent 9a75902 commit ac5e4fe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

subsys/bluetooth/audio/bap_unicast_client.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,9 +641,10 @@ static void unicast_client_ep_config_state(struct bt_bap_ep *ep, struct net_buf_
641641
pref->pref_pd_max = sys_get_le24(cfg->prefer_pd_max);
642642

643643
LOG_DBG("dir %s unframed_supported 0x%02x phy 0x%02x rtn %u "
644-
"latency %u pd_min %u pd_max %u codec 0x%02x ",
644+
"latency %u pd_min %u pd_max %u pref_pd_min %u pref_pd_max %u codec 0x%02x ",
645645
bt_audio_dir_str(ep->dir), pref->unframed_supported, pref->phy, pref->rtn,
646-
pref->latency, pref->pd_min, pref->pd_max, stream->codec->id);
646+
pref->latency, pref->pd_min, pref->pd_max, pref->pref_pd_min, pref->pref_pd_max,
647+
stream->codec->id);
647648

648649
unicast_client_ep_set_codec(ep, cfg->codec.id, sys_le16_to_cpu(cfg->codec.cid),
649650
sys_le16_to_cpu(cfg->codec.vid), cc, cfg->cc_len, NULL);

0 commit comments

Comments
 (0)