Skip to content

Commit 36c74c2

Browse files
committed
Revert "[nrf fromtree][Zephyr] Clear SRP host and services on factory reset"
This reverts commit cf7eda2. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
1 parent 442255b commit 36c74c2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/platform/Zephyr/ConfigurationManagerImpl.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,6 @@ void ConfigurationManagerImpl::DoFactoryReset(intptr_t arg)
183183
{
184184
ChipLogProgress(DeviceLayer, "Performing factory reset");
185185

186-
#if CHIP_DEVICE_CONFIG_ENABLE_THREAD_SRP_CLIENT
187-
ThreadStackMgr().ClearAllSrpHostAndServices();
188-
#endif // CHIP_DEVICE_CONFIG_ENABLE_THREAD_SRP_CLIENT
189-
190186
// Lock the Thread stack to avoid unwanted interaction with settings NVS during factory reset.
191187
#ifdef CONFIG_NET_L2_OPENTHREAD
192188
ThreadStackMgr().LockThreadStack();

0 commit comments

Comments
 (0)