mirror of
https://github.com/espressif/openthread.git
synced 2026-08-05 10:27:49 +00:00
[diag] remove unnecessary receive operation in DiagReceiveDone() (#2310)
The extra receive operation may abort the process of transmit.
This commit is contained in:
@@ -375,7 +375,6 @@ void Diag::DiagReceiveDone(otInstance *aInstance, otRadioFrame *aFrame, otError
|
||||
sStats.received_packets++;
|
||||
}
|
||||
otPlatDiagRadioReceived(aInstance, aFrame, aError);
|
||||
otPlatRadioReceive(aInstance, sChannel);
|
||||
|
||||
exit:
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user