Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 3c4ae78

Browse files
committed
Fix a naming bug around ThreadPSKc in DeviceNetworkInfo.cpp
1 parent 13b683e commit 3c4ae78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/adaptations/device-layer/DeviceNetworkInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ WEAVE_ERROR DeviceNetworkInfo::Encode(nl::Weave::TLV::TLVWriter & writer) const
138138

139139
if (FieldPresent.ThreadPSKc)
140140
{
141-
err = writer.PutBytes(ProfileTag(kWeaveProfile_NetworkProvisioning, kTag_ThreadNetworkPSKc),
142-
ThreadNetworkPSKc, kThreadPSKcLength);
141+
err = writer.PutBytes(ProfileTag(kWeaveProfile_NetworkProvisioning, kTag_ThreadPSKc),
142+
ThreadPSKc, kThreadPSKcLength);
143143
SuccessOrExit(err);
144144
}
145145

0 commit comments

Comments
 (0)