wifi: (fixes #2303) Cleanup wifi mac queue before returning its size

This commit is contained in:
Alexander Krotov
2016-02-23 00:28:42 +01:00
parent 843dd56935
commit 1adf40e98f
2 changed files with 2 additions and 0 deletions

View File

@@ -106,6 +106,7 @@ Bugs fixed
- Bug 2292 - Uninitialized variables since commit 7c60a9f8f271
- Bug 2293 - Red Queue Estimator spins when trying to compute queue average size under long idle times.
- Bug 2302 - Fixing RTT calculation inside TCP Socket
- Bug 2303 - WifiMacQueue::GetSize should cleanup queue beforehand
Known issues
------------

View File

@@ -221,6 +221,7 @@ WifiMacQueue::IsEmpty (void)
uint32_t
WifiMacQueue::GetSize (void)
{
Cleanup ();
return m_size;
}