Skip to content

Commit

Permalink
Fix usage of . instead of -> (tested with esp32 compile)
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Jan 7, 2022
1 parent cdd057a commit 27cc145
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ bool emberAfGeneralCommissioningClusterCommissioningCompleteCallback(
* Once bindings are implemented, this may no longer be needed.
*/
SessionHandle handle = commandObj->GetExchangeContext()->GetSessionHandle();
server->SetFabricIndex(handle->AsSecureSession().GetFabricIndex());
server->SetPeerNodeId(handle->AsSecureSession().GetPeerNodeId());
server->SetFabricIndex(handle->AsSecureSession()->GetFabricIndex());
server->SetPeerNodeId(handle->AsSecureSession()->GetPeerNodeId());

CheckSuccess(server->CommissioningComplete(), Failure);

Expand Down

0 comments on commit 27cc145

Please sign in to comment.