wifi: Fix wrong recipient address when scheduling QosTxop::ResetBa

This commit is contained in:
Sébastien Deronne
2018-11-27 18:54:59 +01:00
parent d8563a55fc
commit 0b9031f986

View File

@@ -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 ();