ble_mesh: fix canceling publication retransmit timer
@@ -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)
