Skip to content
Commit fcbe88d5 authored by Lingao Meng's avatar Lingao Meng Committed by Fabio Baltieri
Browse files

Bluetooth: Mesh: Fix iv recovery unable clear replay list



When local node enter iv recovery procedure, should clear
replay list at first due to avoid possible wrong replay attack.

At present, `bt_mesh_rpl_clear` schedule a timer to clear rpl,
this would cause local node unable precess mesh message(IV Updated).

Also, in `bt_mesh_rpl_pending_store` also not clear rpl, which check
`BT_MESH_VALID` flag, always valid for iv recovery.

So, Add `rpl_clear_pending` work handler process rpl clear.

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