src/devices/wifi/mac-high-nqsta.cc
changeset 2090 3622fda1717b
parent 2054 ba8e810bae4c
child 2156 754a843db672
--- a/src/devices/wifi/mac-high-nqsta.cc	Thu Nov 08 15:23:06 2007 +0100
+++ b/src/devices/wifi/mac-high-nqsta.cc	Thu Nov 08 15:25:57 2007 +0100
@@ -251,7 +251,7 @@
 {
   if (m_beaconWatchdogEnd > Simulator::Now ())
     {
-      m_beaconWatchdog = Simulator::Schedule (Simulator::Now () - m_beaconWatchdogEnd, 
+      m_beaconWatchdog = Simulator::Schedule (m_beaconWatchdogEnd - Simulator::Now (),
                                               &MacHighNqsta::MissedBeacons, this);
       return;
     }