From 80c3fda5b0c5bfcadcaf47443341dbd462398139 Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Mon, 15 Mar 2021 18:46:55 +0100 Subject: [PATCH] wifi: Cancel preamble reception before transmitting --- src/wifi/model/wifi-phy.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wifi/model/wifi-phy.cc b/src/wifi/model/wifi-phy.cc index 53562c0a2..e53e355d9 100644 --- a/src/wifi/model/wifi-phy.cc +++ b/src/wifi/model/wifi-phy.cc @@ -1822,6 +1822,7 @@ WifiPhy::Send (WifiConstPsduMap psdus, WifiTxVector txVector) it.second->CancelRunningEndPreambleDetectionEvents (); } m_currentPreambleEvents.clear (); + m_endPhyRxEvent.Cancel (); if (m_powerRestricted) {