Skip to content

Commit

Permalink
mgmt: mcumgr: transport: bluetooth: Fix dynamic registration option
Browse files Browse the repository at this point in the history
Fixes the Kconfig for dynamic service registration to make it depend
on dynamic database support instead of selecting it, which prevents
issues whereby it is not actually selected

Signed-off-by: Jamie McCrae <spam@helper3000.net>
  • Loading branch information
thedjnK authored and aescolar committed Jul 11, 2024
1 parent 80ce7d2 commit c769a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/mgmt/mcumgr/transport/Kconfig.bluetooth
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ endif # MCUMGR_TRASNPORT_BT_CONN_PARAM_CONTROL

config MCUMGR_TRANSPORT_BT_DYNAMIC_SVC_REGISTRATION
bool "Register SMP service at runtime"
select BT_GATT_DYNAMIC_DB
depends on BT_GATT_DYNAMIC_DB
default y
help
When enabled, the SMP service will be automatically registered at boot time
Expand Down

0 comments on commit c769a64

Please sign in to comment.