wifi: Make sure TX or RX event is canceled in WifiPhy::Reset

This commit is contained in:
Sébastien Deronne
2023-11-11 16:54:50 +01:00
committed by Sébastien Deronne
parent c645f7240c
commit 2c73b9e59c

View File

@@ -1869,6 +1869,8 @@ WifiPhy::Reset()
{
phyEntity.second->CancelAllEvents();
}
m_endPhyRxEvent.Cancel();
m_endTxEvent.Cancel();
SwitchMaybeToCcaBusy(nullptr);
}