This checks for the POLLERR event on a newly accepted connection, to determine if the connection was successful or not. This check is related to the kernel update introduced by, https://patchwork.kernel.org/project/bluetooth/cover/20230623073842.16466-1-iulia.tanasescu@xxxxxxx/ where unsuccessful bis connections are also added to the accept queue of a listening socket, to indicate the fact that BIG sync failed. Iulia Tanasescu (1): isotest: Add check after accepting connection tools/isotest.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) base-commit: 37042ca9c6ddcdbbb0899b3d62238935cd53f443 -- 2.34.1