Skip to content

Commit

Permalink
mesh: Group resends in proxy nodes
Browse files Browse the repository at this point in the history
Resend transport segments for groups on the advertiser interface, even
if a connected proxy node holds the group.

this is port of zephyrproject-rtos/zephyr#23103
  • Loading branch information
KKopyscinski committed Oct 28, 2020
1 parent 6785fb7 commit 80c8f03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nimble/host/mesh/src/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 80c8f03

Please sign in to comment.