Skip to content
Commit 3908638b authored by Michal Narajowski's avatar Michal Narajowski Committed by Johan Hedberg
Browse files

Bluetooth: Mesh: Fix model tree walk procedure



`bt_mesh_model_tree_walk()` was too simplistic and did not track visited
nodes which caused it to fall into infinite loop. Moreover the double
next jump could skip a level causing depth value to be invalid.

Signed-off-by: default avatarMichał Narajowski <michal.narajowski@codecoup.pl>
parent 0bcd66ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment