Bluetooth: Kconfig: let MAX_PAIRED be 0 if SMP is not supported

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2017-07-04 14:56:40 +03:00 committed by Johan Hedberg
commit cf1f3c26a5

View file

@ -256,7 +256,8 @@ config BLUETOOTH_GATT_CLIENT
config BLUETOOTH_MAX_PAIRED
int "Maximum number of paired devices"
default 1
range 1 128
default 0 if !BLUETOOTH_SMP
range 0 128
help
Maximum number of paired Bluetooth devices. The minimum (and
default) number is 1.