[network-diagnostic] remove Max Child Timeout TLV from MTD build (#4730)

This commit is contained in:
Jonathan Hui
2020-03-25 07:54:57 -07:00
parent 543dba995c
commit 9c69ad077d
2 changed files with 2 additions and 2 deletions
-2
View File
@@ -73,8 +73,6 @@ public:
static bool IsRouterIdValid(uint8_t aRouterId) { return aRouterId <= kMaxRouterId; }
otError SendChildUpdateRequest(void) { return Mle::SendChildUpdateRequest(); }
otError GetMaxChildTimeout(uint32_t &) { return OT_ERROR_NOT_IMPLEMENTED; }
};
} // namespace Mle
+2
View File
@@ -467,6 +467,7 @@ otError NetworkDiagnostic::FillRequestedTlvs(Message & aRequest,
break;
}
#if OPENTHREAD_FTD
case NetworkDiagnosticTlv::kMaxChildTimeout:
{
uint32_t maxTimeout = 0;
@@ -481,6 +482,7 @@ otError NetworkDiagnostic::FillRequestedTlvs(Message & aRequest,
break;
}
#endif
default:
ExitNow(error = OT_ERROR_PARSE);