From e875720cc0183267aee56eb3aa2b30fd74583bd3 Mon Sep 17 00:00:00 2001 From: Matias Richart Date: Wed, 21 Dec 2016 21:37:36 +0100 Subject: [PATCH] wifi: (fixes #2566): Fix BlockAckManager::GetNRetryNeededPackets --- RELEASE_NOTES | 1 + src/wifi/model/block-ack-manager.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE_NOTES b/RELEASE_NOTES index 162c692d7..7a99978b6 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -52,6 +52,7 @@ Bugs fixed - Bug 2561 - TCP can not use Connect after a BindToNetDevice - Bug 2563 - Modify pybindgen version check to >= minimum version required - Bug 2564 - Simulation crashes when CtsTimeout is triggered for A-MPDU transmissions +- Bug 2566 - BlockAckManager::GetNRetryNeededPackets missing some packets in the queue Known issues ------------ diff --git a/src/wifi/model/block-ack-manager.cc b/src/wifi/model/block-ack-manager.cc index 0e1c22f6b..9e8c34759 100644 --- a/src/wifi/model/block-ack-manager.cc +++ b/src/wifi/model/block-ack-manager.cc @@ -534,7 +534,7 @@ BlockAckManager::GetNRetryNeededPackets (Mac48Address recipient, uint8_t tid) co } } //go to next packet - if (it != m_retryPackets.end ()) + else { it++; }