Skip to content

Commit 18a5b07

Browse files
llyespressif-bot
lly
authored andcommitted
ble_mesh: stack: Minor fix for provisioner provisioning timeout
1 parent 6c55c9c commit 18a5b07

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

components/bt/esp_ble_mesh/mesh_core/provisioner_prov.c

+2-6
Original file line numberDiff line numberDiff line change
@@ -2725,12 +2725,8 @@ static void prov_retransmit(struct k_work *work)
27252725
#endif
27262726
if (k_uptime_get() - link[idx].tx.start > timeout) {
27272727
BT_WARN("Provisioner timeout, giving up transaction");
2728-
/**
2729-
* For the case MESH/PVNR/PBADV/BV-01, provisoner should
2730-
* sends link close with reason.
2731-
*/
2732-
close_link(idx,CLOSE_REASON_TIMEOUT);
2733-
reset_link(idx, CLOSE_REASON_TIMEOUT);
2728+
/* Provisioner should send Link Close here */
2729+
close_link(idx, CLOSE_REASON_TIMEOUT);
27342730
return;
27352731
}
27362732

0 commit comments

Comments
 (0)