]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: hci_core: Fix not accounting for BIS/CIS/PA links separately
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 14 Aug 2025 15:57:19 +0000 (11:57 -0400)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 15 Aug 2025 14:13:41 +0000 (10:13 -0400)
commit9d4b01a0bf8d2163ae129c9c537cb0753ad5a2aa
tree45b847e5c6db87567f3ae696d1a7ebb064968366
parente489317d2fd9a51a81bdcbe15a73ddde8246e6d6
Bluetooth: hci_core: Fix not accounting for BIS/CIS/PA links separately

This fixes the likes of hci_conn_num(CIS_LINK) returning the total of
ISO connection which includes BIS_LINK as well, so this splits the
iso_num into each link type and introduces hci_iso_num that can be used
in places where the total number of ISO connection still needs to be
used.

Fixes: 23205562ffc8 ("Bluetooth: separate CIS_LINK and BIS_LINK link types")
Fixes: a7bcffc673de ("Bluetooth: Add PA_LINK to distinguish BIG sync and PA sync connections")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/hci_core.h