mesh: Do not accept publication for unbound appkey
authorIsak Westin <isak.westin@hotmail.com>
Wed, 21 Sep 2022 11:16:29 +0000 (13:16 +0200)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:55 +0000 (14:55 +0530)
commit9af24fa314cbdcdecee344c2caf2b945ae98b34c
tree5ec071bbc9d9dee37fdfcee7f2e68542f015faab
parentbc1e3ba5680739a34304f324bf726a4c97d6bc72
mesh: Do not accept publication for unbound appkey

If a user tries to configure publication of a model with an appkey that
is not bound to that model, an error should be returned.

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