Skip to content
Permalink
Browse files

Bluetooth: GATT: Kconfig: Remove redundant BT_CONN dependencies

subsys/bluetooth/host/Kconfig.gatt is already sourced within an
'if BT_CONN' in subsys/bluetooth/host/Kconfig.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
  • Loading branch information...
ulfalizer authored and ioannisg committed Aug 7, 2019
1 parent 80ca3e0 commit 5ef7eea6e2411e126d2b764093e2a4d7bd380619
Showing with 2 additions and 3 deletions.
  1. +1 −0 subsys/bluetooth/host/Kconfig
  2. +1 −3 subsys/bluetooth/host/Kconfig.gatt
@@ -322,6 +322,7 @@ config BT_CREATE_CONN_TIMEOUT
int "Timeout for pending LE Create Connection command in seconds"
default 3
range 1 65535

endif # BT_CONN

if BT_OBSERVER
@@ -125,7 +125,7 @@ endif # BT_GAP_PERIPHERAL_PREF_PARAMS

config BT_DEVICE_NAME_GATT_WRITABLE
bool "Allow to write name by remote GATT clients"
depends on BT_CONN && BT_DEVICE_NAME_DYNAMIC
depends on BT_DEVICE_NAME_DYNAMIC
default y
help
Enabling this option allows remote GATT clients to write to device
@@ -135,14 +135,12 @@ if BT_DEBUG

config BT_DEBUG_ATT
bool "Bluetooth Attribute Protocol (ATT) debug"
depends on BT_CONN
help
This option enables debug support for the Bluetooth
Attribute Protocol (ATT).

config BT_DEBUG_GATT
bool "Bluetooth Generic Attribute Profile (GATT) debug"
depends on BT_CONN
help
This option enables debug support for the Bluetooth
Generic Attribute Profile (GATT).

0 comments on commit 5ef7eea

Please sign in to comment.
You can’t perform that action at this time.