[mle] rename static method to RouterIdFromRloc16() from GetRouterId() (#4486)

This commit is contained in:
Abtin Keshavarzian
2020-01-17 12:27:09 -08:00
committed by Jonathan Hui
parent 05747e7670
commit e2403f6066
8 changed files with 31 additions and 30 deletions
+1 -1
View File
@@ -315,7 +315,7 @@ otError otThreadGetParentInfo(otInstance *aInstance, otRouterInfo *aParentInfo)
aParentInfo->mExtAddress = parent->GetExtAddress();
aParentInfo->mRloc16 = parent->GetRloc16();
aParentInfo->mRouterId = Mle::Mle::GetRouterId(parent->GetRloc16());
aParentInfo->mRouterId = Mle::Mle::RouterIdFromRloc16(parent->GetRloc16());
aParentInfo->mNextHop = parent->GetNextHop();
aParentInfo->mPathCost = parent->GetCost();
aParentInfo->mLinkQualityIn = parent->GetLinkInfo().GetLinkQuality();