[PATCH] Avoid spurious "No matching AppKey" warning.


Steve Brown
 

Signed-off-by: Steve Brown <sbrown@...>
---
subsys/bluetooth/host/mesh/transport.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/subsys/bluetooth/host/mesh/transport.c b/subsys/bluetooth/host/mesh/transport.c
index 555664ce9..6d29f3017 100644
--- a/subsys/bluetooth/host/mesh/transport.c
+++ b/subsys/bluetooth/host/mesh/transport.c
@@ -529,6 +529,7 @@ static int sdu_recv(struct bt_mesh_net_rx *rx, u8_t hdr, u8_t mic_size,
}

bt_mesh_model_recv(rx, sdu);
+ return 0;
}

BT_WARN("No matching AppKey");
--
2.11.0

Join devel@lists.zephyrproject.org to automatically receive all group messages.