We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 617154f commit ee54848Copy full SHA for ee54848
subsys/bluetooth/mesh/rpl.c
@@ -398,7 +398,7 @@ void bt_mesh_rpl_pending_store(uint16_t addr)
398
}
399
400
401
- atomic_test_and_clear_bit(&rpl_flags, PENDING_RESET);
+ atomic_clear_bit(&rpl_flags, PENDING_RESET);
402
403
if (addr == BT_MESH_ADDR_ALL_NODES) {
404
(void)memset(&replay_list[last - shift + 1], 0, sizeof(struct bt_mesh_rpl) * shift);
0 commit comments