Skip to content

Commit 59710a2

Browse files
committed
Bluetooth: hci_core: Remove check of BDADDR_ANY in hci_conn_hash_lookup_big_state
The check for destination to be BDADDR_ANY is no longer necessary with the introduction of BIS_LINK. Fixes: 2320556 ("Bluetooth: separate CIS_LINK and BIS_LINK link types") Signed-off-by: Luiz Augusto von Dentz <[email protected]>
1 parent ef9675b commit 59710a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/net/bluetooth/hci_core.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,8 +1350,7 @@ hci_conn_hash_lookup_big_state(struct hci_dev *hdev, __u8 handle, __u16 state)
13501350
rcu_read_lock();
13511351

13521352
list_for_each_entry_rcu(c, &h->list, list) {
1353-
if (c->type != BIS_LINK || bacmp(&c->dst, BDADDR_ANY) ||
1354-
c->state != state)
1353+
if (c->type != BIS_LINK || c->state != state)
13551354
continue;
13561355

13571356
if (handle == c->iso_qos.bcast.big) {

0 commit comments

Comments
 (0)