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
This commit is contained in:
Krzysztof Kopyściński
2021-01-12 14:05:19 +01:00
committed by Łukasz Rymanowski
parent 08d039799d
commit 13900a18bd
+3 -2
View File
@@ -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);
}