iso-tester: always use DEFER_SETUP for multiple CIS in same CIG
authorPauli Virtanen <pav@iki.fi>
Sun, 21 May 2023 15:27:34 +0000 (15:27 +0000)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:34:03 +0000 (19:04 +0530)
commita45de7250a64ae53d798c4f1a791625b48f203f6
tree5e62e7e7c56ebceb8f3a43df6f9e95b3a389d75c
parentb54ddecd9cf1a4b83e13d27889d533dcf87a4390
iso-tester: always use DEFER_SETUP for multiple CIS in same CIG

There is a race between multiple connect() for CIS in the same CIG.
connect() will both reconfigure the CIG and connect the CIS, but CIG
cannot be reconfigured once one CIS has already connected.  That these
tests pass currently relies on some timing/event ordering in the
emulator.

Connecting multiple CIS in same CIG is meant to be done using
DEFER_SETUP, so change the tests to use it, so we test the intended
usage.
tools/iso-tester.c