From 280c9523a490e8ed6d609b8b0d8bfde51013e48b Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 29 Jul 2025 11:03:48 -0400 Subject: [PATCH] btdev: Fix checking for PA on BT_HCI_CMD_LE_TERM_BIG BT_HCI_CMD_LE_TERM_BIG does not require PA to be enabled. --- emulator/btdev.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/emulator/btdev.c b/emulator/btdev.c index 3747eaaef..5dd7d0994 100644 --- a/emulator/btdev.c +++ b/emulator/btdev.c @@ -6542,14 +6542,6 @@ static int cmd_term_big(struct btdev *dev, const void *data, uint8_t len) struct le_big *big; uint8_t status = BT_HCI_ERR_SUCCESS; - /* Check that PA advertising is enabled othewise it is not possible to - * have a BIG. - */ - if (!dev->le_pa_enable) { - status = BT_HCI_ERR_UNKNOWN_ADVERTISING_ID; - goto done; - } - /* If the BIG_Handle does not identify a BIG, the Controller shall * return the error code Unknown Advertising Identifier (0x42). */ -- 2.47.3