mirror of
https://github.com/espressif/openthread.git
synced 2026-08-23 10:49:51 +00:00
fix scan mask issue when reattach to the same partition (#113)
This commit is contained in:
@@ -850,6 +850,12 @@ ThreadError Mle::SendParentRequest(void)
|
||||
{
|
||||
case kParentRequestRouter:
|
||||
scanMask = ScanMaskTlv::kRouterFlag;
|
||||
|
||||
if (mParentRequestMode == kMleAttachSamePartition)
|
||||
{
|
||||
scanMask |= ScanMaskTlv::kEndDeviceFlag;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case kParentRequestChild:
|
||||
|
||||
Reference in New Issue
Block a user