mesh: Return correct error code for AppKey List command
authorInga Stotland <inga.stotland@intel.com>
Thu, 14 Feb 2019 03:45:27 +0000 (19:45 -0800)
committerAnupam Roy <anupam.r@samsung.com>
Tue, 17 Dec 2019 14:14:53 +0000 (19:44 +0530)
commit207223c828e72c00f161cabea405ac6a26f0195b
tree029a04952e8998468ae720343f2cde8c404c577e
parentaae9e9bd4c513253a849b59aa788637de20ffb5a
mesh: Return correct error code for AppKey List command

If AppKey List command is called with a network key index that
is not valid for the node, return Invalid NetKey Index error code

Change-Id: I77e4065e710b536ba641fd49ca2eeb5b5d7e47be
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
mesh/appkey.c