Parent: 4de3420d3352e0773dd6e4a8ef665247a0da8bc2
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2020-08-22 17:20:26
Tree: b66d434f0dec17899969f428284cd52ed90b8395
mesh: Use valid net key index when handling Send call Retrieve value of bound Net Key index based on the value of passed AppKey index. Check if the key is present and fail early in case of error. Also, pass the correct NetKey index to model layer in mesh_model_send(), instead of hard coded 0.
Diffstat
| M | mesh/model.c | | | 2 | - - |
| M | mesh/node.c | | | 13 | +++++++++- - - - |
2 files changed, 9 insertions(+), 6 deletions(-)