Skip to content
Commit 6c2da47e authored by Rait Rääk's avatar Rait Rääk Committed by Fabio Baltieri
Browse files

bluetooth: conn: Fix forced pairing request handling



BT_SECURITY_FORCE_PAIR option gets overridden when CONFIG_BT_SMP_SC_ONLY
or CONFIG_BT_SMP_OOB_LEGACY_PAIR_ONLY is defined. Cache the bit value
before overrides.
Add explicit forced pair handling to existing security level check.
Functionality did not change as this was done implicitly due to integer
comparison for enums.
Add extra clarification to the method doc.
Signed-off-by: default avatarRait Rääk <raitraak@gmail.com>
parent fd6f3c5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment