Mesh: Unload Network before deinitialiation 99/241899/1
authorAnupam Roy <anupam.r@samsung.com>
Thu, 20 Aug 2020 16:26:52 +0000 (21:56 +0530)
committerAnupam Roy <anupam.r@samsung.com>
Thu, 20 Aug 2020 16:26:52 +0000 (21:56 +0530)
commitbf5a87c01a5fb0766d2bc384d7b6c2cde50209be
tree5867ef380ce35c0c36eca3126431d87b4d443662
parent7a099f2b33783661244908508ab54eda7b369ceb
Mesh: Unload Network before deinitialiation

Currently, unloading only removes the network
resources from bt-service layer. So, deinit
of mesh stack was OK to be done before unloading
of network.

But, now, mesh FRWK shall request to
free the network's DBUS resources(proxies) to
mesh stack. So deinitialization is moved below
unloading of network, to ensure, all network
resouces are properly cleaned up before deinit.

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