Commit: b9b070ff307a56324063ecfa98da5af76a9aefb6
Parent: b57dd2de74615c581144af0c08454570903ed60a
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-03-22 18:34:53
Tree: 223ed4e4309295530e75459e10546f7214a15d3d

mesh: Fix adding model app key binding This fixes the situation when a new app key binding is being added to a model and the list of bindings does not exist yet. If the list does not exist, it is created and the binding is added to it. Also, remove unnecessary memory alloc check when model subscriptions are added.

Diffstat

M mesh/model.c | 5 +++- -

1 files changed, 3 insertions(+), 2 deletions(-)

View Full Diff | Patch