Skip to content

Commit abb645f

Browse files
LuDudamarkaj-nordic
authored andcommitted
[nrf noup] Do not clear Last Network ID and Connection Error after scan
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 <lukasz.duda@nordicsemi.no>
1 parent 88f942f commit abb645f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/app/clusters/network-commissioning/network-commissioning.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -519,8 +519,6 @@ void Instance::OnFinished(Status status, CharSpan debugText, ThreadScanResponseI
519519
}
520520

521521
mLastNetworkingStatusValue.SetNonNull(status);
522-
mLastConnectErrorValue.SetNull();
523-
mLastNetworkIDLen = 0;
524522

525523
TLV::TLVWriter * writer;
526524
TLV::TLVType listContainerType;
@@ -633,8 +631,6 @@ void Instance::OnFinished(Status status, CharSpan debugText, WiFiScanResponseIte
633631
}
634632

635633
mLastNetworkingStatusValue.SetNonNull(status);
636-
mLastConnectErrorValue.SetNull();
637-
mLastNetworkIDLen = 0;
638634

639635
TLV::TLVWriter * writer;
640636
TLV::TLVType listContainerType;

0 commit comments

Comments
 (0)