We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e92e77 commit 777a609Copy full SHA for 777a609
src/app/clusters/network-commissioning/network-commissioning.cpp
@@ -1388,7 +1388,8 @@ CHIP_ERROR Instance::EnumerateAcceptedCommands(const ConcreteClusterPath & clust
1388
// Avoid extra memory allocation
1389
return builder.ReferenceExisting({ commands, kNetworkCommands + (hasCred ? kCredentialsCommands : 0) });
1390
}
1391
- else if (hasCred)
+
1392
+ if (hasCred)
1393
{ // Skip the network commands send the rest
1394
return builder.ReferenceExisting({ commands + kNetworkCommands, kCredentialsCommands });
1395
0 commit comments