Bluetooth: Add Kconfig option to disable bondable mode

This adds Kconfig option to allow disable bondable mode in compile
time.

Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
This commit is contained in:
Mariusz Skamra 2018-09-18 12:32:33 +02:00 committed by Johan Hedberg
commit 7ff9eeea0e
2 changed files with 16 additions and 2 deletions

View file

@ -311,6 +311,14 @@ config BT_USE_DEBUG_KEYS
If this option is enabled anyone is able to decipher encrypted air
traffic.
config BT_BONDABLE
bool "Bondable Mode"
default y
help
This option enables support for Bondable Mode. In this mode,
Bonding flag in AuthReq of SMP Pairing Request/Response will be set
indicating the support for this mode.
endif # BT_SMP
config BT_L2CAP_DYNAMIC_CHANNEL