mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 21:35:16 +00:00
mesh: fix mesh_network_key_remove
This commit is contained in:
parent
584bbe7d59
commit
5d07e7017f
@ -70,7 +70,7 @@ void mesh_network_key_add(mesh_network_key_t * network_key){
|
||||
}
|
||||
|
||||
int mesh_network_key_remove(mesh_network_key_t * network_key){
|
||||
mesh_network_key_used[network_key->internal_index] = 1;
|
||||
mesh_network_key_used[network_key->internal_index] = 0;
|
||||
return btstack_linked_list_remove(&network_keys, (btstack_linked_item_t *) network_key);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user