mesh: Clear addr field if virt sub failed
authorIsak Westin <isak.westin@loytec.com>
Fri, 23 Sep 2022 11:31:48 +0000 (13:31 +0200)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:55 +0000 (14:55 +0530)
commit13768060da75e62db53752dc09b4b587c2fe295a
treecd680b471cde392c07243271259885d1e1383433
parent6ec6f88c2a3abaee59e20387553630754fb8a9aa
mesh: Clear addr field if virt sub failed

If processing failed for a Config Model Subscription Virtual Address
Add/Delete/Overwrite message, the address field in the status reply
should be set to zero. See MshPRFv1.0.1 section 4.4.1.2.8.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
mesh/cfgmod-server.c