mirror of
https://github.com/espressif/openthread.git
synced 2026-08-31 06:19:54 +00:00
[posix-app] clear and free mTxRadioTid from Receive (#3046)
This commit is contained in:
committed by
Jonathan Hui
parent
311b9283c2
commit
cd6b9e835c
@@ -1376,6 +1376,12 @@ otError RadioSpinel::Receive(uint8_t aChannel)
|
||||
VerifyOrExit(error == OT_ERROR_NONE);
|
||||
}
|
||||
|
||||
if (mTxRadioTid != 0)
|
||||
{
|
||||
FreeTid(mTxRadioTid);
|
||||
mTxRadioTid = 0;
|
||||
}
|
||||
|
||||
mTxState = kIdle;
|
||||
mState = OT_RADIO_STATE_RECEIVE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user