Skip to content

Commit

Permalink
Bluetooth: Kconfig: Add dependency on BT_CONN for PAST
Browse files Browse the repository at this point in the history
PAST only works if you have a connection, so the PAST
feature should depend on that.

Signed-off-by: Emil Gydesen <[email protected]>
  • Loading branch information
Thalley committed Jul 3, 2024
1 parent edad7a4 commit b67a99d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions doc/releases/release-notes-3.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@ Bluetooth
with the buffer pools for HCI fragments and L2CAP segments. All communication with the
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

* Added support for Ambiq Apollo3 Blue series.
Expand Down
4 changes: 2 additions & 2 deletions subsys/bluetooth/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@ config BT_DATA_LEN_UPDATE

config BT_PER_ADV_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
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
bool "Sleep Clock Accuracy Update"
Expand Down

0 comments on commit b67a99d

Please sign in to comment.