ble_mesh: Group resends in proxy nodes [Zephyr]

Resend transport segments for groups on the advertiser interface, even
if a connected proxy node holds the group.
This commit is contained in:
lly 2020-03-26 09:23:14 +08:00 committed by bot
parent 968772d18a
commit bc1722260f

View file

@ -811,7 +811,8 @@ int bt_mesh_net_resend(struct bt_mesh_subnet *sub, struct net_buf *buf,
}
if (IS_ENABLED(CONFIG_BLE_MESH_GATT_PROXY_SERVER) &&
bt_mesh_proxy_relay(&buf->b, dst)) {
bt_mesh_proxy_relay(&buf->b, dst) &&
BLE_MESH_ADDR_IS_UNICAST(dst)) {
send_cb_finalize(cb, cb_data);
return 0;
}