Skip to content

Commit

Permalink
Fix the compile error after rebasing to master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
crlonxp committed Oct 24, 2024
1 parent fa94ca0 commit a7a761a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport/raw/WiFiPAF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ CHIP_ERROR WiFiPAFBase::Init(const WiFiPAFListenParameters & param)
CHIP_ERROR WiFiPAFBase::SendMessage(const Transport::PeerAddress & address, System::PacketBufferHandle && msgBuf)
{
VerifyOrReturnError(address.GetTransportType() == Type::kWiFiPAF, CHIP_ERROR_INVALID_ARGUMENT);
VerifyOrReturnError(mState != State::kNotReady, CHIP_ERROR_INCORRECT_STATE);
VerifyOrReturnError(mWiFiPAFLayer->GetWiFiPAFState() != chip::WiFiPAF::State::kNotReady, CHIP_ERROR_INCORRECT_STATE);
DeviceLayer::ConnectivityMgr().WiFiPAFSend(std::move(msgBuf));

return CHIP_NO_ERROR;
Expand Down

0 comments on commit a7a761a

Please sign in to comment.