forked from espressif/esp-idf
bugfix(ble_mesh): Close BLEQABR23-798
This commit is contained in:
@@ -366,7 +366,7 @@ static int provisioner_start_prov_pb_adv(const uint8_t uuid[16], const bt_mesh_a
|
|||||||
|
|
||||||
if (is_unprov_dev_being_provision(uuid)) {
|
if (is_unprov_dev_being_provision(uuid)) {
|
||||||
bt_mesh_pb_adv_unlock();
|
bt_mesh_pb_adv_unlock();
|
||||||
return -EALREADY;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < CONFIG_BLE_MESH_PBA_SAME_TIME; i++) {
|
for (i = 0; i < CONFIG_BLE_MESH_PBA_SAME_TIME; i++) {
|
||||||
@@ -428,7 +428,7 @@ static int provisioner_start_prov_pb_gatt(const uint8_t uuid[16], const bt_mesh_
|
|||||||
|
|
||||||
if (is_unprov_dev_being_provision(uuid)) {
|
if (is_unprov_dev_being_provision(uuid)) {
|
||||||
bt_mesh_pb_gatt_unlock();
|
bt_mesh_pb_gatt_unlock();
|
||||||
return -EALREADY;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = CONFIG_BLE_MESH_PBA_SAME_TIME; i < BLE_MESH_PROV_SAME_TIME; i++) {
|
for (i = CONFIG_BLE_MESH_PBA_SAME_TIME; i < BLE_MESH_PROV_SAME_TIME; i++) {
|
||||||
|
Reference in New Issue
Block a user