mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 05:34:32 +02:00
Merge branch 'bugfix/ble_mesh_stack_minor_fixes' into 'master'
ble_mesh: stack: Minor fix for provisioner provisioning timeout See merge request espressif/esp-idf!22883
This commit is contained in:
@@ -1133,7 +1133,7 @@ if BLE_MESH
|
|||||||
networking is initialized.
|
networking is initialized.
|
||||||
|
|
||||||
config BLE_MESH_BQB_TEST
|
config BLE_MESH_BQB_TEST
|
||||||
bool
|
bool "Enable BLE Mesh specific internal test"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This option is used to enable some internal functions for auto-pts test.
|
This option is used to enable some internal functions for auto-pts test.
|
||||||
|
@@ -2725,12 +2725,8 @@ static void prov_retransmit(struct k_work *work)
|
|||||||
#endif
|
#endif
|
||||||
if (k_uptime_get() - link[idx].tx.start > timeout) {
|
if (k_uptime_get() - link[idx].tx.start > timeout) {
|
||||||
BT_WARN("Provisioner timeout, giving up transaction");
|
BT_WARN("Provisioner timeout, giving up transaction");
|
||||||
/**
|
/* Provisioner should send Link Close here */
|
||||||
* For the case MESH/PVNR/PBADV/BV-01, provisoner should
|
close_link(idx, CLOSE_REASON_TIMEOUT);
|
||||||
* sends link close with reason.
|
|
||||||
*/
|
|
||||||
close_link(idx,CLOSE_REASON_TIMEOUT);
|
|
||||||
reset_link(idx, CLOSE_REASON_TIMEOUT);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user