mesh: Create a queue of pending requests in mesh_init() 18/235118/1
authorInga Stotland <inga.stotland@intel.com>
Fri, 22 May 2020 00:34:57 +0000 (17:34 -0700)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Thu, 28 May 2020 11:27:22 +0000 (16:57 +0530)
commit959a9ffafe8a8732ead4b5cbc58413a770dbc4a6
tree31e7d619ecb84ffb134ae2e1800b2d1a841a0f8f
parent85bb1cb11c4028adc9ede12af2805a9c8862e1bd
mesh: Create a queue of pending requests in mesh_init()

This removes unnnecessary checking for queue existence every time
either Attach(), Create() or Import() methods are called.

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