/* Verify that this device can be reprovisioned after resets.  */
static void test_device_pb_adv_reprovision(void)
/* Verify that this device can be reprovisioned after resets.  */
static void test_device_pb_adv_reprovision(void)
{
	k_sem_init(&prov_sem, 0, 1);
	bt_mesh_device_setup(&prov, &comp);
	ASSERT_OK(bt_mesh_prov_enable(BT_MESH_PROV_ADV));
	LOG_INF("Mesh initialized\n");
	for (int i = 0; i < PROV_REPROV_COUNT; i++) {
		LOG_INF("Dev prov loop #%d, waiting for prov ...\n", i);
		ASSERT_OK(k_sem_take(&prov_sem, K_SECONDS(20)));
	}
	PASS();
}