mesh: Fix logic when cleaning up incomplete provisioning
authorInga Stotland <inga.stotland@intel.com>
Sat, 19 Jan 2019 06:53:18 +0000 (22:53 -0800)
committerAnupam Roy <anupam.r@samsung.com>
Tue, 17 Dec 2019 14:02:20 +0000 (19:32 +0530)
commit37822aed85a50e212556c047bd9ed96f4174c97a
tree3e59a3aaf130375c9c371f672724aad6d6dfd515
parent20a6c6d7c5a8f8623dd86ade84e799c9edb62330
mesh: Fix logic when cleaning up incomplete provisioning

Do not call acceptor_cancel() if the provisioning has been completed,
either fail or success. Acceptor automatically takes care of cleanup
on completion, either successful or not.
mesh/mesh.c