mesh: Make "elements" mandatory in node configuration
authorInga Stotland <inga.stotland@intel.com>
Thu, 6 Jun 2019 01:18:31 +0000 (18:18 -0700)
committerAnupam Roy <anupam.r@samsung.com>
Tue, 17 Dec 2019 15:11:46 +0000 (20:41 +0530)
commit60254ab6081dc0896f1b6885e72cedaec868e7b6
treef8d0f09a92ada289deb7923769a8a9df8d20583d
parent7c8d9abce13b2d67e77988adad85217488ed2e5a
mesh: Make "elements" mandatory in node configuration

This patch modifies the behavior of node configuration parsing:
if "elements" property is not present, th configuration file
for this node is regarded as malformed.

Also, clean up style.

Change-Id: I3a869f74cf103f04fdb99f991c0156932372354e
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
mesh/mesh-db.c