From f3e7656c0616e4094159c39b15d0e956949aa9e6 Mon Sep 17 00:00:00 2001 From: lly Date: Mon, 2 Sep 2019 14:01:54 +0800 Subject: [PATCH] ble_mesh: remove non-standard relay opearation --- components/bt/esp_ble_mesh/mesh_core/net.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/components/bt/esp_ble_mesh/mesh_core/net.c b/components/bt/esp_ble_mesh/mesh_core/net.c index a944f83092..79d27c70d6 100644 --- a/components/bt/esp_ble_mesh/mesh_core/net.c +++ b/components/bt/esp_ble_mesh/mesh_core/net.c @@ -1195,15 +1195,6 @@ static void bt_mesh_net_relay(struct net_buf_simple *sbuf, transmit = bt_mesh_relay_retransmit_get(); } else { transmit = bt_mesh_net_transmit_get(); - if (rx->net_if == BLE_MESH_NET_IF_PROXY && - transmit < BLE_MESH_TRANSMIT(5, 20)) { - /** - * Add this in case EspBleMesh APP just send a message once, and - * the Proxy Node will send this message using advertising bearer - * with duration not less than 180ms. - */ - transmit = BLE_MESH_TRANSMIT(5, 20); - } } buf = bt_mesh_adv_create(BLE_MESH_ADV_DATA, transmit, K_NO_WAIT);