Skip to content
Commit 08415ff1 authored by Szymon Janc's avatar Szymon Janc Committed by Anas Nashif
Browse files

Bluetooth: Fix not reseting required sec level on error



If pairing failed before encryption was enabled or if enabling
encryption failed (eg due to remote device missing LTK) required
security level should be reset.

Otherwise it is not possible to re-try with setting security level.

Error reporting to application is still missing though.

Change-Id: I085e3ee116bd04304a4c4563cc40f9d40262447e
Signed-off-by: default avatarSzymon Janc <ext.szymon.janc@tieto.com>
parent f795f374
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment