From 13900a18bd98862c4e4b35a0ccda56bd3313fd15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Kopy=C5=9Bci=C5=84ski?= Date: Wed, 28 Oct 2020 11:09:57 +0100 Subject: [PATCH] mesh: Group resends in proxy nodes Resend transport segments for groups on the advertiser interface, even if a connected proxy node holds the group. this is port of 9d272db9e11c149aced0d01087f2e92810e4dae9 --- nimble/host/mesh/src/net.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nimble/host/mesh/src/net.c b/nimble/host/mesh/src/net.c index 9b47b4a22..7f94af0e1 100644 --- a/nimble/host/mesh/src/net.c +++ b/nimble/host/mesh/src/net.c @@ -762,8 +762,9 @@ int bt_mesh_net_resend(struct bt_mesh_subnet *sub, struct os_mbuf *buf, } if (IS_ENABLED(CONFIG_BT_MESH_GATT_PROXY) && - bt_mesh_proxy_relay(buf, dst)) { - send_cb_finalize(cb, cb_data); + bt_mesh_proxy_relay(buf, dst) && + BT_MESH_ADDR_IS_UNICAST(dst)) { + send_cb_finalize(cb, cb_data); } else { bt_mesh_adv_send(buf, cb, cb_data); }