]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:34:45 +0000 (16:34 +0200)
commiteebfe804be47e5682f048bbf97dce3ae138247da
treed9b68f45a45841e2682a1d2a0b3097d9743229f6
parent087812a6119b4cd5c9d658b48aee40a25707a1c6
Bluetooth: hci_core: Fix not accounting for BIS/CIS/PA links separately

[ Upstream commit 9d4b01a0bf8d2163ae129c9c537cb0753ad5a2aa ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/bluetooth/hci_core.h