Diff between ab7ad58315cadd139812f2f6a524d69dd25fb2a9 and 7b25497cc8f70169cf92389e6716840b0ffeceaa

Changed Files

File Additions Deletions Status
mesh/appkey.c +1 -1 modified

Full Patch

diff --git a/mesh/appkey.c b/mesh/appkey.c
index 45d6040..a4771bd 100644
--- a/mesh/appkey.c
+++ b/mesh/appkey.c
@@ -320,7 +320,7 @@ int appkey_key_delete(struct mesh_net *net, uint16_t net_idx,
 	key = l_queue_find(app_keys, match_key_index, L_UINT_TO_PTR(app_idx));
 
 	if (!key)
-		return MESH_STATUS_INVALID_APPKEY;
+		return MESH_STATUS_SUCCESS;
 
 	if (key->net_idx != net_idx)
 		return MESH_STATUS_INVALID_NETKEY;