Bluetooth: Mesh: Fix not updating health publication message
The bt_mesh_fault_update() API is meant for updating the publication message and sending it out to the network, however it was missing the necessary call to health_pub_update() which is responsible for updating the publication message. Fixes #15300 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
9926f947ab
commit
686f5c79cf
1 changed files with 2 additions and 0 deletions
|
@ -358,6 +358,8 @@ int bt_mesh_fault_update(struct bt_mesh_elem *elem)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
health_pub_update(mod);
|
||||
|
||||
return bt_mesh_model_publish(mod);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue