drivers/nble: Fix overwriting default Kconfig values
NBLE defaults (eg for BLUETOOTH_MAX_PAIRED) were not limited to !BLUETOOTH and resulted in overwriting BLUETOOTH defaults. Change-Id: I1e4a90c00c15252bb3db927b42641f9a479f4aa6 Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
parent
d732ac4f67
commit
eeb29e8397
1 changed files with 2 additions and 4 deletions
|
@ -16,9 +16,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
# These BLUETOOTH_* dependencies are redefined here since we can't use
|
if !BLUETOOTH
|
||||||
# net/bluetooth/KConfig (which depend on CONFIG_BLUETOOTH)
|
|
||||||
#
|
|
||||||
config BLUETOOTH_PERIPHERAL
|
config BLUETOOTH_PERIPHERAL
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
@ -42,7 +40,6 @@ config BLUETOOTH_MAX_PAIRED
|
||||||
config NBLE
|
config NBLE
|
||||||
bool "Support for custom Nordic Semiconductor BLE protocol"
|
bool "Support for custom Nordic Semiconductor BLE protocol"
|
||||||
default n
|
default n
|
||||||
depends on !BLUETOOTH
|
|
||||||
select BLUETOOTH_PERIPHERAL
|
select BLUETOOTH_PERIPHERAL
|
||||||
select BLUETOOTH_CENTRAL
|
select BLUETOOTH_CENTRAL
|
||||||
select BLUETOOTH_GATT_CLIENT
|
select BLUETOOTH_GATT_CLIENT
|
||||||
|
@ -52,3 +49,4 @@ config NBLE
|
||||||
LE chips with a custom firmware. The API for this is a subset of
|
LE chips with a custom firmware. The API for this is a subset of
|
||||||
the normal Bluetooth API (include/bluetooth/*.h). This driver can
|
the normal Bluetooth API (include/bluetooth/*.h). This driver can
|
||||||
only be enabled if CONFIG_BLUETOOTH has not been enabled.
|
only be enabled if CONFIG_BLUETOOTH has not been enabled.
|
||||||
|
endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue