test: test-mesh - Correctly stop periodic publication
authorInga Stotland <inga.stotland@intel.com>
Sun, 30 Jun 2019 06:43:56 +0000 (23:43 -0700)
committerAnupam Roy <anupam.r@samsung.com>
Tue, 17 Dec 2019 15:20:08 +0000 (20:50 +0530)
commit327189f7a524dcdf965330a134c9e2276e9b5baa
tree77f1ce837c855b8244db5aeff4843f8ff22a6394
parent422c0b3526e8fb190e3295a4f113f9b1f3e7463f
test: test-mesh - Correctly stop periodic publication

This changes the order of checks for an updated publication period:
check for zero period first, and if this is the case, stop sending
the periodic model publications.

Change-Id: I2693c5a593fa23e59dd2e015348f1fd96a30c88f
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
test/test-mesh