wifi: Do not erase events tracked in interference helper upon channel switching

This commit is contained in:
Sébastien Deronne
2023-02-12 14:39:03 +01:00
committed by Sébastien Deronne
parent 8472e0ce23
commit fad3da285a

View File

@@ -1239,7 +1239,6 @@ WifiPhy::DoChannelSwitch()
{
// notify channel switching
m_state->SwitchToChannelSwitching(GetChannelSwitchDelay());
m_interference->EraseEvents(GetCurrentFrequencyRange());
/*
* Needed here to be able to correctly sensed the medium for the first
* time after the switching. The actual switching is not performed until