Bluetooth: CAP: Remove qos from start_stream_param

Remove the qos field from
bt_cap_unicast_audio_start_stream_param as it was not used.

The QOS values are set when creating the unicast group,
and not when starting the streams.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2023-08-17 15:25:28 +02:00 committed by Carles Cufí
commit 71b1591337
5 changed files with 2 additions and 42 deletions

View file

@ -344,7 +344,6 @@ static int unicast_audio_start(struct bt_conn *conn, struct bt_bap_unicast_group
stream_param.stream = &unicast_streams[0];
stream_param.ep = unicast_sink_eps[0];
stream_param.codec_cfg = &unicast_preset_48_2_1.codec_cfg;
stream_param.qos = &unicast_preset_48_2_1.qos;
err = bt_cap_initiator_unicast_audio_start(&param, unicast_group);
if (err != 0) {