Commit 7ffbd55e authored by Luiz Augusto von Dentz's avatar Luiz Augusto von Dentz Committed by Anas Nashif
Browse files

Bluetooth: ISO: Fix revert direction when setting SDU


s_sdu refers to rx/input and m_sdu refers to tx/output.
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent 151e93b7
...@@ -390,10 +390,10 @@ static struct net_buf *hci_le_set_cig_params(struct bt_iso_create_param *param) ...@@ -390,10 +390,10 @@ static struct net_buf *hci_le_set_cig_params(struct bt_iso_create_param *param)
switch (param->chans[i]->qos->dir) { switch (param->chans[i]->qos->dir) {
case BT_ISO_CHAN_QOS_IN: case BT_ISO_CHAN_QOS_IN:
cis->m_sdu = param->chans[i]->qos->sdu; cis->s_sdu = param->chans[i]->qos->sdu;
break; break;
case BT_ISO_CHAN_QOS_OUT: case BT_ISO_CHAN_QOS_OUT:
cis->s_sdu = param->chans[i]->qos->sdu; cis->m_sdu = param->chans[i]->qos->sdu;
break; break;
case BT_ISO_CHAN_QOS_INOUT: case BT_ISO_CHAN_QOS_INOUT:
cis->m_sdu = param->chans[i]->qos->sdu; cis->m_sdu = param->chans[i]->qos->sdu;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment