mesh: Reply error if appkey added for wrong netkey
authorIsak Westin <isak.westin@loytec.com>
Fri, 23 Sep 2022 11:31:49 +0000 (13:31 +0200)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:55 +0000 (14:55 +0530)
commit63fc73f88141ff93e5e562caae2bbfc06216884c
tree18e63b4bcc8cd5900ff707e77f997dc025676d67
parent13768060da75e62db53752dc09b4b587c2fe295a
mesh: Reply error if appkey added for wrong netkey

If a known appkey is added for a different netkey, the status reply
should be Invalid NetKey.

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