From 3f6968e31b99ae2121100c98b4d3e4bb3a8a6382 Mon Sep 17 00:00:00 2001 From: lly Date: Mon, 2 Sep 2019 15:04:52 +0800 Subject: [PATCH] ble_mesh: fix canceling publication retransmit timer --- components/bt/esp_ble_mesh/mesh_core/access.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/components/bt/esp_ble_mesh/mesh_core/access.c b/components/bt/esp_ble_mesh/mesh_core/access.c index 529d8ebab1..8b04e926cf 100644 --- a/components/bt/esp_ble_mesh/mesh_core/access.c +++ b/components/bt/esp_ble_mesh/mesh_core/access.c @@ -326,11 +326,6 @@ static void mod_publish(struct k_work *work) if (err) { BT_ERR("%s, Publishing failed (err %d)", __func__, err); } - - if (pub->count) { - /* Retransmissions also control the timer */ - k_delayed_work_cancel(&pub->timer); - } } struct bt_mesh_elem *bt_mesh_model_elem(struct bt_mesh_model *mod)