From 0b9031f986e6b05dfc884cbf53472a1ac940731b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Tue, 27 Nov 2018 18:54:59 +0100 Subject: [PATCH] wifi: Fix wrong recipient address when scheduling QosTxop::ResetBa --- src/wifi/model/qos-txop.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wifi/model/qos-txop.cc b/src/wifi/model/qos-txop.cc index 43a827de2..b6eec3735 100644 --- a/src/wifi/model/qos-txop.cc +++ b/src/wifi/model/qos-txop.cc @@ -1609,7 +1609,7 @@ QosTxop::AddBaResponseTimeout (Mac48Address recipient, uint8_t tid) if (m_baManager->ExistsAgreementInState (recipient, tid, OriginatorBlockAckAgreement::PENDING)) { m_baManager->NotifyAgreementNoReply (recipient, tid); - Simulator::Schedule (m_failedAddBaTimeout, &QosTxop::ResetBa, this, m_currentHdr.GetAddr1 (), tid); + Simulator::Schedule (m_failedAddBaTimeout, &QosTxop::ResetBa, this, recipient, tid); m_backoffTrace = m_rng->GetInteger (0, GetCw ()); StartBackoffNow (m_backoffTrace); RestartAccessIfNeeded ();