mirror of
https://github.com/espressif/openthread.git
synced 2026-09-02 23:30:07 +00:00
[link-raw] retrasnmit frames on any error (#3172)
This commit is contained in:
committed by
Jonathan Hui
parent
b13f22c03e
commit
59545f5c61
@@ -291,7 +291,7 @@ void LinkRaw::InvokeTransmitDone(otRadioFrame *aFrame, otRadioFrame *aAckFrame,
|
||||
mCsmaBackoffs = 0;
|
||||
}
|
||||
|
||||
if (aError == OT_ERROR_NO_ACK)
|
||||
if (aError != OT_ERROR_NONE)
|
||||
{
|
||||
if (mTransmitRetries < aFrame->mInfo.mTxInfo.mMaxFrameRetries)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user