mesh: Clean up Attach() method call 20/235120/1
authorInga Stotland <inga.stotland@intel.com>
Fri, 22 May 2020 00:34:59 +0000 (17:34 -0700)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Thu, 28 May 2020 11:27:22 +0000 (16:57 +0530)
commit42ed9f94ea3b33df1d5e3ceec30f09ab36784a6c
tree8848dd50bd8c0e2026cc78a94e1965ad37232074
parent73d7e5d457ecd522883d5cf221b23e343a4f2fca
mesh: Clean up Attach() method call

This consolidates error return form one place: off a callback
with unsuccessful status.

Change-Id: I3c39a8bb7e6198f730ce8c1a8f7da97e43f65823
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
mesh/mesh.c
mesh/node.c
mesh/node.h