diff --git a/src/core/mac/mac.cpp b/src/core/mac/mac.cpp index edc455531..17d5080a2 100644 --- a/src/core/mac/mac.cpp +++ b/src/core/mac/mac.cpp @@ -293,10 +293,12 @@ void Mac::PerformActiveScan(void) if (UpdateScanChannel() == kErrorNone) { // If there are more channels to scan, send the beacon request. + mLinks.SetRxOnWhenIdle(true); BeginTransmit(); } else { + mLinks.SetRxOnWhenIdle(mRxOnWhenIdle); mLinks.SetPanId(mPanId); FinishOperation(); ReportActiveScanResult(nullptr);