Bluetooth: Audio: Fix setting correct QoS based on direction
The unicast client would set the QoS reversed, as the client should configure it TX parameters for SINK and RX parameters for source, where it did it the other way around. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
23c1d6c3da
commit
f41c1cd8a9
4 changed files with 28 additions and 19 deletions
|
@ -825,7 +825,7 @@ static int bt_audio_broadcast_sink_setup_stream(uint8_t index,
|
|||
stream->iso->qos->rx = &sink_chan_io_qos;
|
||||
stream->iso->qos->tx = NULL;
|
||||
stream->qos = &codec_qos;
|
||||
err = bt_audio_codec_qos_to_iso_qos(stream, &codec_qos);
|
||||
err = bt_audio_codec_qos_to_iso_qos(stream->iso->qos->rx, &codec_qos);
|
||||
if (err) {
|
||||
BT_ERR("Unable to convert codec QoS to ISO QoS");
|
||||
return err;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue