wifi: Cancel preamble reception before transmitting

This commit is contained in:
Stefano Avallone
2021-03-15 18:46:55 +01:00
committed by Stefano Avallone
parent 09896fe2b1
commit 80c3fda5b0

View File

@@ -1822,6 +1822,7 @@ WifiPhy::Send (WifiConstPsduMap psdus, WifiTxVector txVector)
it.second->CancelRunningEndPreambleDetectionEvents ();
}
m_currentPreambleEvents.clear ();
m_endPhyRxEvent.Cancel ();
if (m_powerRestricted)
{