Skip to content
Commit c2622396 authored by Lingao Meng's avatar Lingao Meng Committed by Anas Nashif
Browse files

Bluetooth: Mesh: Fix friendship counter increasing order



For Bluetooth Mesh, counter shall be increasing by one when
every try to establishing friendship.

Counter to be used when create friendship security material.
So this value shall be consist between friend and lpn.

Due to zephyr bluetooth mesh send previous counter, after that
it will automatically increase one, which will result in the
incorrect generation of friend key when key rephase.

Signed-off-by: default avatarLingao Meng <menglingao@xiaomi.com>
parent 51d8e362
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment