Bluetooth: Mesh: Don't reset mod pointer
Don't reset values set in init callback as it is called only once by bt_mesh_init call. The reset callback is called on every node reset. Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit is contained in:
parent
65f029e185
commit
f4a592f3bb
1 changed files with 0 additions and 1 deletions
|
@ -1337,7 +1337,6 @@ static void rpr_srv_reset(struct bt_mesh_model *mod)
|
|||
atomic_clear(srv.flags);
|
||||
srv.link.dev = NULL;
|
||||
srv.scan.dev = NULL;
|
||||
srv.mod = NULL;
|
||||
}
|
||||
|
||||
const struct bt_mesh_model_cb _bt_mesh_rpr_srv_cb = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue