Bluetooth: Kconfig: Add dependency on BT_CONN for PAST

PAST only works if you have a connection, so the PAST
feature should depend on that.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2024-07-03 23:57:47 +02:00 committed by Alberto Escolar
commit c46b2e086b
2 changed files with 6 additions and 2 deletions

View file

@ -289,6 +289,10 @@ Bluetooth
with the buffer pools for HCI fragments and L2CAP segments. All communication with the with the buffer pools for HCI fragments and L2CAP segments. All communication with the
Controller is now exclusively done in the system workqueue context. Controller is now exclusively done in the system workqueue context.
* :kconfig:option:`CONFIG_BT_PER_ADV_SYNC_TRANSFER_RECEIVER` and
:kconfig:option:`CONFIG_BT_PER_ADV_SYNC_TRANSFER_SENDER` now depend on
:kconfig:option:`CONFIG_BT_CONN` as they do not work without connections.
* HCI Driver * HCI Driver
* Added support for Ambiq Apollo3 Blue series. * Added support for Ambiq Apollo3 Blue series.

View file

@ -154,11 +154,11 @@ config BT_DATA_LEN_UPDATE
config BT_PER_ADV_SYNC_TRANSFER_RECEIVER config BT_PER_ADV_SYNC_TRANSFER_RECEIVER
bool "Periodic Advertising Sync Transfer receiver" bool "Periodic Advertising Sync Transfer receiver"
depends on BT_PER_ADV_SYNC && (!BT_CTLR || BT_CTLR_SYNC_TRANSFER_RECEIVER_SUPPORT) depends on BT_PER_ADV_SYNC && BT_CONN && (!BT_CTLR || BT_CTLR_SYNC_TRANSFER_RECEIVER_SUPPORT)
config BT_PER_ADV_SYNC_TRANSFER_SENDER config BT_PER_ADV_SYNC_TRANSFER_SENDER
bool "Periodic Advertising Sync Transfer sender" bool "Periodic Advertising Sync Transfer sender"
depends on (BT_PER_ADV_SYNC || BT_PER_ADV) && (!BT_CTLR || BT_CTLR_SYNC_TRANSFER_SENDER_SUPPORT) depends on (BT_PER_ADV_SYNC || BT_PER_ADV) && BT_CONN && (!BT_CTLR || BT_CTLR_SYNC_TRANSFER_SENDER_SUPPORT)
config BT_SCA_UPDATE config BT_SCA_UPDATE
bool "Sleep Clock Accuracy Update" bool "Sleep Clock Accuracy Update"