From 5ef7eea6e2411e126d2b764093e2a4d7bd380619 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Wed, 7 Aug 2019 04:40:22 +0200 Subject: [PATCH] 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 --- subsys/bluetooth/host/Kconfig | 1 + subsys/bluetooth/host/Kconfig.gatt | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/subsys/bluetooth/host/Kconfig b/subsys/bluetooth/host/Kconfig index 18088a9f95e..bc91eef532b 100644 --- a/subsys/bluetooth/host/Kconfig +++ b/subsys/bluetooth/host/Kconfig @@ -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 diff --git a/subsys/bluetooth/host/Kconfig.gatt b/subsys/bluetooth/host/Kconfig.gatt index b9b4359be2d..d4e90f23c45 100644 --- a/subsys/bluetooth/host/Kconfig.gatt +++ b/subsys/bluetooth/host/Kconfig.gatt @@ -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).