Bluetooth: ISO: Update hci_conn_hash_lookup_big for Broadcast slave
authorIulia Tanasescu <iulia.tanasescu@nxp.com>
Fri, 1 Nov 2024 08:23:39 +0000 (10:23 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 14 Nov 2024 20:37:31 +0000 (15:37 -0500)
commit83d328a72eff3268ea4c19deb0a6cf4c7da15746
treedea0ed6439acfe2e0a90ca0ac1daf1fbd6c34a2c
parent42ecf1947135110ea08abeaca39741636f9a2285
Bluetooth: ISO: Update hci_conn_hash_lookup_big for Broadcast slave

Currently, hci_conn_hash_lookup_big only checks for BIS master connections,
by filtering out connections with the destination address set. This commit
updates this function to also consider BIS slave connections, since it is
also used for a Broadcast Receiver to set an available BIG handle before
issuing the LE BIG Create Sync command.

Signed-off-by: Iulia Tanasescu <iulia.tanasescu@nxp.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c
net/bluetooth/iso.c