Message ID | 20200109103222.31139-1-michal.lowas-rzechonek@silvair.com |
---|---|
State | New |
Headers | show |
Series | [BlueZ] mesh: Allow apps to receive DevKey messages from external nodes | expand |
diff --git a/mesh/model.c b/mesh/model.c index acdd94f7b..6d7674ee5 100644 --- a/mesh/model.c +++ b/mesh/model.c @@ -1066,8 +1066,7 @@ bool mesh_model_rx(struct mesh_node *node, bool szmict, uint32_t seq0, forward.app_idx, forward.size, forward.data); else if (decrypt_idx == APP_IDX_DEV_REMOTE || - (decrypt_idx == APP_IDX_DEV_LOCAL && - mesh_net_is_local_address(net, src, 1))) + decrypt_idx == APP_IDX_DEV_LOCAL) send_dev_key_msg_rcvd(node, i, src, decrypt_idx, 0, forward.size, forward.data); }