bug 1584: Association Request Timeouts not canceled. - Fixed copy-paste error in 831ad8abd1c0.

This commit is contained in:
Andrey Mazo
2013-08-19 18:30:18 +02:00
parent 67e43c7ea1
commit 9b73661ef8
2 changed files with 3 additions and 2 deletions

View File

@@ -54,6 +54,7 @@ Bugs fixed
- Bug 1296 - Enhancement in Ipv[4,6]RoutingHelper
- Bug 1390 - ICMPv6 Redirect are handled correctly only for /64 networks
- Bug 1522 - Hidden node scenario leads to ARP failure
- Bug 1584 - Old Association Request Timeouts are not canceled
- Bug 1629 - Make AODV Default to Disable Hello
- Bug 1643 - NdiscCache creation and existence checks
- Bug 1646 - ICMPv6 Redirect are sent from global address instead of link-local

View File

@@ -183,9 +183,9 @@ StaWifiMac::SendProbeRequest (void)
// association or not.
m_dca->Queue (packet, hdr);
if (m_assocRequestEvent.IsRunning ())
if (m_probeRequestEvent.IsRunning ())
{
m_assocRequestEvent.Cancel ();
m_probeRequestEvent.Cancel ();
}
m_probeRequestEvent = Simulator::Schedule (m_probeRequestTimeout,
&StaWifiMac::ProbeRequestTimeout, this);