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

Commit 0a8e4f1

Browse files
authored
Merge pull request #343 from openweave/bug/fix-threadnetworkpsk-naming
Fix a naming bug in DeviceNetworkInfo.cpp
2 parents 13b683e + 3c4ae78 commit 0a8e4f1

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)