mesh: Clear prov capabilities structure before reading 77/229677/1
authorBrian Gix <brian.gix@intel.com>
Wed, 1 Apr 2020 18:02:57 +0000 (11:02 -0700)
committerAnupam Roy <anupam.r@samsung.com>
Wed, 1 Apr 2020 21:03:36 +0000 (02:33 +0530)
commit06f1004aacc0ee7037095546baa2d8a50e1f17d9
tree1a50cc76683601fccadf4d3cd71327db3d90b563
parentbdb627d566bb3cf817eb63bccf2d34079d1a6d0f
mesh: Clear prov capabilities structure before reading

Capabilities need to be zero'd before realtime reading fresh values,
because they are mostly bitmasks, which are set when capabilities are
detected, and never otherwise cleared.

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