bugfix(mesh): remove reset link state on receiving prov_data packets

This commit is contained in:
Wu Meng Shi
2023-09-22 11:59:12 +08:00
committed by Island
parent ce7848acb3
commit 4118244f59

View File

@@ -944,8 +944,6 @@ static void prov_data(const uint8_t *data)
/* Ignore any further PDUs on this link */ /* Ignore any further PDUs on this link */
prov_link.expect = 0U; prov_link.expect = 0U;
reset_state();
#if CONFIG_BLE_MESH_RPR_SRV #if CONFIG_BLE_MESH_RPR_SRV
/* For NPPI, no need to perform the following actions */ /* For NPPI, no need to perform the following actions */
if (bt_mesh_atomic_test_bit(prov_link.flags, PB_NPPI)) { if (bt_mesh_atomic_test_bit(prov_link.flags, PB_NPPI)) {