[log] correct the log info in HandleLeaderKeepAliveResponse() (#2547)

This commit is contained in:
rongli
2018-02-07 17:04:58 +00:00
committed by Jonathan Hui
parent e09b355575
commit 7a82a1e1f2
+1 -1
View File
@@ -716,7 +716,7 @@ void Commissioner::HandleLeaderKeepAliveResponse(Coap::Header *aHeader, Message
VerifyOrExit(aResult == OT_ERROR_NONE && aHeader->GetCode() == OT_COAP_CODE_CHANGED,
mState = OT_COMMISSIONER_STATE_DISABLED);
otLogInfoMeshCoP(GetInstance(), "received Leader Petition response");
otLogInfoMeshCoP(GetInstance(), "received Leader keep-alive response");
SuccessOrExit(Tlv::GetTlv(*aMessage, Tlv::kState, sizeof(state), state));
VerifyOrExit(state.IsValid());