Skip to content
Commit 00c5edd4 authored by Thomas Ebert Hansen's avatar Thomas Ebert Hansen Committed by Carles Cufí
Browse files

Bluetooth: controller: Fix LLCP enc. execution ctx



rp_enc_state_wait_ltk_reply() is executed in thread context, so
it is not allowed to move the encryption state machine forward.

Defer LTK reply handling to next prepare event by introducing a continue
state.

Update the unit test to reflect this, and remove the TODO that actually
said there was an issue in the first place.

Signed-off-by: default avatarThomas Ebert Hansen <thoh@oticon.com>
parent d1504ff6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment