[link-raw] retrasnmit frames on any error (#3172)

This commit is contained in:
Abtin Keshavarzian
2018-10-16 19:59:55 -07:00
committed by Jonathan Hui
parent b13f22c03e
commit 59545f5c61
+1 -1
View File
@@ -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)
{