mesh: Handle netkey delete when netkey is not in netkeylist 57/228957/1
authorPrathyusha N <prathyusha.n@samsung.com>
Tue, 24 Mar 2020 19:27:21 +0000 (00:57 +0530)
committerAnupam Roy <anupam.r@samsung.com>
Thu, 26 Mar 2020 10:38:27 +0000 (16:08 +0530)
commit7afcd97e6140aa25ac15ab8833f9205b972d248e
treec0450a1306677fcd44c321e3fc474bfbf55f22df
parentad6bc5d74f823c1532f4d7c56969d00a0bfa85cf
mesh: Handle netkey delete when netkey is not in netkeylist

4.4.1.2.9 of Mesh Profile Bluetooth specification:
When an element receives a Config NetKey Delete message that
identifies a NetKey that is not in the NetKey List, it
responds with Success, because the result of deleting the
key that does not exist in the NetKey List will be the same
as if the key was deleted from the NetKey List.

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