bug 1584: Association Request Timeouts not canceled. - Fixed copy-paste error in 831ad8abd1c0.
authorAndrey Mazo <mazo@iitp.ru>
Mon, 19 Aug 2013 18:30:18 +0200
changeset 10179 8dc92cb1e737
parent 10178 831ad8abd1c0
child 10180 2564598017c1
bug 1584: Association Request Timeouts not canceled. - Fixed copy-paste error in 831ad8abd1c0.
RELEASE_NOTES
src/wifi/model/sta-wifi-mac.cc
--- a/RELEASE_NOTES	Sun Aug 18 23:14:50 2013 -0700
+++ b/RELEASE_NOTES	Mon Aug 19 18:30:18 2013 +0200
@@ -54,6 +54,7 @@
 - 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
--- a/src/wifi/model/sta-wifi-mac.cc	Sun Aug 18 23:14:50 2013 -0700
+++ b/src/wifi/model/sta-wifi-mac.cc	Mon Aug 19 18:30:18 2013 +0200
@@ -183,9 +183,9 @@
   // 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);