mesh: reset list of appkeys boound to model

This commit is contained in:
Matthias Ringwald 2019-07-14 23:07:08 +02:00
parent 0c98c714e8
commit 56305cc23c

View File

@ -431,6 +431,9 @@ mesh_model_t * mesh_model_get_configuration_server(void){
}
void mesh_element_add_model(mesh_element_t * element, mesh_model_t * mesh_model){
// reset app keys
mesh_model_reset_appkeys(mesh_model);
if (mesh_model_is_bluetooth_sig(mesh_model->model_identifier)){
element->models_count_sig++;
} else {