btdev: Fix using CIG settings from the peripheral not the central
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 19 Jan 2021 21:51:12 +0000 (13:51 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:34 +0000 (19:08 +0530)
commitee5203da32cc8d162be3a0d2f535155f11b13ac6
tree0e5c7859acec38a10ea1726219ffa5c35dd55096
parent14bd0e09bcde4c6b288f72cf99a9223364b22b6a
btdev: Fix using CIG settings from the peripheral not the central

SetCIGParameters is only used by the central while accept/reject CIS is
performed on in the peripheral so le_cis_estabilished shall use the
parameters set in the conn->link->dev.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
emulator/btdev.c