Fixed problem where if the appKeys array already exists, that new add key requests were rejected. --- mesh/mesh-db.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mesh/mesh-db.c b/mesh/mesh-db.c index 2dc13cd65..d5d19d52f 100644 --- a/mesh/mesh-db.c +++ b/mesh/mesh-db.c @@ -533,8 +533,6 @@ bool mesh_db_app_key_add(json_object *jobj, uint16_t net_idx, uint16_t app_idx, char buf[5]; json_object_object_get_ex(jobj, "appKeys", &jarray); - if (jarray) - return false; if (jarray) jentry = get_key_object(jarray, app_idx); -- 2.14.5