Skip to content
Commit 23049346 authored by Pavel Vasilyev's avatar Pavel Vasilyev Committed by Alberto Escolar
Browse files

Bluetooth: Mesh: Fix dev key selection in SAR Cfg Client



For dev key encrypiton, BT_MESH_KEY_DEV_REMOTE should be used instead of
BT_MESH_KEY_DEV regardless of whether the destination is a local element
or remote.

BT_MESH_MSG_CTX_INIT_DEV macro selects correct key.

Signed-off-by: default avatarPavel Vasilyev <pavel.vasilyev@nordicsemi.no>
parent 4d6bce34
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment