From fad3da285ac6913a7fc31e49f88fac7e100e274d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Sun, 12 Feb 2023 14:39:03 +0100 Subject: [PATCH] wifi: Do not erase events tracked in interference helper upon channel switching --- src/wifi/model/wifi-phy.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wifi/model/wifi-phy.cc b/src/wifi/model/wifi-phy.cc index 7d9c56197..64a7a8caa 100644 --- a/src/wifi/model/wifi-phy.cc +++ b/src/wifi/model/wifi-phy.cc @@ -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