wifi: (fixes #2303) Cleanup wifi mac queue before returning its size
This commit is contained in:
@@ -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
|
||||
------------
|
||||
|
||||
@@ -221,6 +221,7 @@ WifiMacQueue::IsEmpty (void)
|
||||
uint32_t
|
||||
WifiMacQueue::GetSize (void)
|
||||
{
|
||||
Cleanup ();
|
||||
return m_size;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user