mesh: Fix clean up after AddNode method
authorInga Stotland <inga.stotland@intel.com>
Sat, 9 Nov 2019 00:07:00 +0000 (16:07 -0800)
committerAnupam Roy <anupam.r@samsung.com>
Tue, 17 Dec 2019 20:49:06 +0000 (02:19 +0530)
commit568a78f09af28c305ad53875f3f08869a7979c41
tree8f0171881f850f971410cd5b513d7a9b46ca0c15
parent8e63fd025adf9ea4fa727293249501ff49b5a070
mesh: Fix clean up after AddNode method

This fixes the cleanup routine that is called after AddNode method
on org.bluez.mesh.Manager1 interface is complete: do not remove
the agent associated with the Provisioner (owner of Manager interface).

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