Skip to content

Commit

Permalink
[nrf noup] Do not clear Last Network ID and Connection Error after scan
Browse files Browse the repository at this point in the history
This commit fixes the issue where ScanComplete event cleared the
attribute values for connection status.

This commit should be reverted and replaced by Matter 1.3 revision where
the network commissioning cluster has been rewritten.

Signed-off-by: Łukasz Duda <[email protected]>
  • Loading branch information
LuDuda authored and markaj-nordic committed Mar 8, 2024
1 parent 88f942f commit abb645f
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -519,8 +519,6 @@ void Instance::OnFinished(Status status, CharSpan debugText, ThreadScanResponseI
}

mLastNetworkingStatusValue.SetNonNull(status);
mLastConnectErrorValue.SetNull();
mLastNetworkIDLen = 0;

TLV::TLVWriter * writer;
TLV::TLVType listContainerType;
Expand Down Expand Up @@ -633,8 +631,6 @@ void Instance::OnFinished(Status status, CharSpan debugText, WiFiScanResponseIte
}

mLastNetworkingStatusValue.SetNonNull(status);
mLastConnectErrorValue.SetNull();
mLastNetworkIDLen = 0;

TLV::TLVWriter * writer;
TLV::TLVType listContainerType;
Expand Down

0 comments on commit abb645f

Please sign in to comment.