Skip to content
Commit ad96ae03 authored by Joakim Andersson's avatar Joakim Andersson Committed by Carles Cufí
Browse files

Bluetooth: SMP: Set allowed commands before sending the SMP packet



Set the allowed command bitmask before sending the SMP packet. This
avoids a race-condition in case the sending of the PDU made the
current thread not ready and would not be scheduled back in time
to set the bit before receiving the next SMP packet.

Signed-off-by: default avatarJoakim Andersson <joakim.andersson@nordicsemi.no>
parent d04e1973
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment