mirror of
https://github.com/espressif/openthread.git
synced 2026-09-07 17:50:09 +00:00
[mle] remove assert in Mle::FillConnectivityTlv() when detached (#3610)
This commit is contained in:
@@ -4237,7 +4237,7 @@ void MleRouter::FillConnectivityTlv(ConnectivityTlv &aTlv)
|
||||
{
|
||||
case OT_DEVICE_ROLE_DISABLED:
|
||||
case OT_DEVICE_ROLE_DETACHED:
|
||||
assert(false);
|
||||
cost = static_cast<uint8_t>(kMaxRouteCost);
|
||||
break;
|
||||
|
||||
case OT_DEVICE_ROLE_CHILD:
|
||||
|
||||
Reference in New Issue
Block a user