wifi: (fixes #500) Clear PHY RX event if switching channel in IDLE and CCA_BUSY state (patch from Ohad Klausner)
This commit is contained in:
@@ -1176,6 +1176,7 @@ WifiPhy::GetDelayUntilChannelSwitch (void)
|
||||
break;
|
||||
case WifiPhyState::CCA_BUSY:
|
||||
case WifiPhyState::IDLE:
|
||||
m_endPhyRxEvent.Cancel ();
|
||||
for (auto & phyEntity : m_phyEntities)
|
||||
{
|
||||
phyEntity.second->CancelAllEvents ();
|
||||
|
||||
Reference in New Issue
Block a user