mesh: Clear HB sub status field if disabled
authorIsak Westin <isak.westin@loytec.com>
Mon, 26 Sep 2022 13:01:10 +0000 (15:01 +0200)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:55 +0000 (14:55 +0530)
commit2885b3bb4974e3fe6e835848035d6b55ca8fdac3
treec9b69b553f62f99c6148ff9be977ac68c61bf6f2
parent2763097e1029e240aa713364654e8712b299c42e
mesh: Clear HB sub status field if disabled

When replying to a HB subscription get message, and the current state of
source or destination fields is zero (which means that HB subscription
is disabled), all fields in the status reply should be zero.

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