Segmentation fault occured when we want to add second network key via NETWORK KEY ADD opcode (0x8040). It was caused by passing 'subnet' pointer (which was NULL) to the start_network_beacon() function. Jakub Witowski (1): mesh: Fix segmentation fault after adding second netkey via NET_KEY_ADD opcode mesh/net.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.20.1