Bluetooth: hci_conn: Fix hci_le_set_cig_params
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 4 Aug 2023 21:54:09 +0000 (14:54 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 11 Aug 2023 18:55:28 +0000 (11:55 -0700)
commita091289218202bc09d9b9caa8afcde1018584aec
tree3b34c23efbaebfe78f1eec0f29a01829f2abdb34
parentf88670161eb205f842989df555d0dd2f9fe2d4b5
Bluetooth: hci_conn: Fix hci_le_set_cig_params

When running with concurrent task only one CIS was being assigned so
this attempts to rework the way the PDU is constructed so it is handled
later at the callback instead of in place.

Fixes: 26afbd826ee3 ("Bluetooth: Add initial implementation of CIS connections")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_conn.c