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


Johan Hedberg
 

Hi Steve,

On Thu, Sep 07, 2017, Steve Brown wrote:
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");
Thanks!

Except for a missing "Bluetooth: Mesh: " prefix in the commit subject,
the patch looks good to me. However, the process for getting it included
upstream is by creating a github pull request. If you've used github
before it should be quite quick & easy. If you haven't there's more info
here:

https://www.zephyrproject.org/doc/contribute/contribute_guidelines.html

Johan

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