Skip to content

Commit

Permalink
Bluetooth: 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.

Signed-off-by: Trond Einar Snekvik <[email protected]>
  • Loading branch information
trond-snekvik authored and jhedberg committed Feb 27, 2020
1 parent ff072bc commit 7b48611
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion subsys/bluetooth/mesh/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,8 @@ int bt_mesh_net_resend(struct bt_mesh_subnet *sub, struct net_buf *buf,
}

if (IS_ENABLED(CONFIG_BT_MESH_GATT_PROXY) &&
bt_mesh_proxy_relay(&buf->b, dst)) {
bt_mesh_proxy_relay(&buf->b, 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 7b48611

Please sign in to comment.