Diff between 622d98afbb4f147d0ead1961c80406072bc45aa7 and 9b4d8f1dc1be2623723ba57ab93d6c07ecdb788f
Changed Files
| File | Additions | Deletions | Status |
| mesh/net.c | +1 | -1 | modified |
Full Patch
diff --git a/mesh/net.c b/mesh/net.c
index 49c4ee2..0343c4c 100644
--- a/mesh/net.c
+++ b/mesh/net.c
@@ -945,7 +945,7 @@ int mesh_net_del_key(struct mesh_net *net, uint16_t idx)
subnet = l_queue_find(net->subnets, match_key_index,
L_UINT_TO_PTR(idx));
if (!subnet)
- return MESH_STATUS_CANNOT_REMOVE;
+ return MESH_STATUS_SUCCESS;
/* Delete associated app keys */
appkey_delete_bound_keys(net, idx);