Skip to content

Commit

Permalink
Fix condition typo
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Oct 4, 2024
1 parent b08d16e commit 03dcc81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/InteractionModelEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,7 @@ Protocols::InteractionModel::Status InteractionModelEngine::CommandCheckFlags(co

// Fabric-scoped commands are not allowed before a specific accessing fabric is available.
// This is mostly just during a PASE session before AddNOC.
if (!aRequest.subjectDescriptor.has_value() || aRequest.accessingFabricIndex == kUndefinedFabricIndex)
if (aRequest.accessingFabricIndex == kUndefinedFabricIndex)
{
return Status::UnsupportedAccess;
}
Expand Down

0 comments on commit 03dcc81

Please sign in to comment.