btdev: Fix not setting CIS parameters properly
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 13 Apr 2023 00:39:03 +0000 (17:39 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 10:41:34 +0000 (16:11 +0530)
commit9cf68b27377184da97f9e78b320e0d04a62a7beb
tree97bddb2e834aaff70ee994a0ca7d90aa50d69725
parent7f202c225aa7dd9cc5f42dca2521f35a8bf798e9
btdev: Fix not setting CIS parameters properly

The code was assuming only index 0 was to be used which doesn't work
when there are multiple CIS being programmed with different parameters.
emulator/btdev.c