projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45d9e8f
)
mesh: Fix bug with adding more than one app key
author
Stotland, Inga
<inga.stotland@intel.com>
Mon, 11 Mar 2019 19:00:01 +0000
(12:00 -0700)
committer
Anupam Roy
<anupam.r@samsung.com>
Tue, 17 Dec 2019 14:18:28 +0000
(19:48 +0530)
Fixed problem where if the appKeys array already exists, that
new add key requests were rejected.
Change-Id: I416c2b2848ea15e53f9c2ddc168dc928d455466e
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
mesh/mesh-db.c
patch
|
blob
|
history
diff --git
a/mesh/mesh-db.c
b/mesh/mesh-db.c
index
db1ead4
..
0584c63
100644
(file)
--- a/
mesh/mesh-db.c
+++ b/
mesh/mesh-db.c
@@
-532,8
+532,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);