Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Tennessee Carmel-Veilleux <tennessee.carmelveilleux@gmail.com>
  • Loading branch information
shubhamdp and tcarmelveilleux committed Aug 3, 2023
1 parent e71aedb commit e0736c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/protocols/secure_channel/CASEServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class CASEServer : public SessionEstablishmentDelegate,

// If we are in the middle of handshake and receive a Sigma1 then respond with Busy status code.
// @param[in] ec Exchange Context
// @param[in] minimumWaitTime Minimum wait time before client resends sigma1
// @param[in] minimumWaitTime Minimum wait time reported to client before it can attempt to resend sigma1
//
// @return CHIP_NO_ERROR on success, error code otherwise
CHIP_ERROR SendBusyStatusReport(Messaging::ExchangeContext * ec, System::Clock::Milliseconds16 minimumWaitTime);
Expand Down
2 changes: 1 addition & 1 deletion src/protocols/secure_channel/StatusReport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ System::PacketBufferHandle StatusReport::MakeBusyStatusReportMessage(System::Clo
ChipLogError(SecureChannel, "Failed to finalize protocol data for busy status report"));

// Build a busy status report
StatusReport statusReport(GeneralStatusCode::kBusy, Id, kProtocolCodeBusy, std::move(handle));
StatusReport statusReport(GeneralStatusCode::kBusy, Protocols::SecureChannel::Id, kProtocolCodeBusy, std::move(handle));

// Build the status report message
handle = System::PacketBufferHandle::New(statusReport.Size());
Expand Down

0 comments on commit e0736c0

Please sign in to comment.