Skip to content

Commit

Permalink
fix reset
Browse files Browse the repository at this point in the history
  • Loading branch information
jepenven-silabs committed Dec 12, 2022
1 parent ce66696 commit 20025d3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app/server/CommissioningWindowManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,11 @@ void CommissioningWindowManager::ResetState()
mECMSaltLength = 0;

#if CHIP_DEVICE_CONFIG_ENABLE_SED
DeviceLayer::ConnectivityMgr().RequestSEDActiveMode(false);
mSEDActiveModeEnabled = false;
if (mSEDActiveModeEnabled)
{
DeviceLayer::ConnectivityMgr().RequestSEDActiveMode(false);
mSEDActiveModeEnabled = false;
}
#endif

UpdateWindowStatus(CommissioningWindowStatus::kWindowNotOpen);
Expand Down

0 comments on commit 20025d3

Please sign in to comment.