fix build
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Wed, 10 Oct 2007 16:04:25 +0200
changeset 1951 55980d59a7ea
parent 1950 bfdf92bda635
child 1952 2ad2630756e3
fix build
src/devices/wifi/mac-high-nqsta.cc
--- a/src/devices/wifi/mac-high-nqsta.cc	Wed Oct 10 16:03:45 2007 +0200
+++ b/src/devices/wifi/mac-high-nqsta.cc	Wed Oct 10 16:04:25 2007 +0200
@@ -310,14 +310,14 @@
           // we do not have any special ssid so this
           // beacon is as good as another.
           Time delay = MicroSeconds (beacon.GetBeaconIntervalUs () * m_maxMissedBeacons);
-          m_beaconWatchdog.Ping (delay);
+          m_beaconWatchdog->Ping (delay);
           goodBeacon = true;
         } 
       else if (beacon.GetSsid ().IsEqual (m_interface->GetSsid ())) 
         {
           //beacon for our ssid.
           Time delay = MicroSeconds (beacon.GetBeaconIntervalUs () * m_maxMissedBeacons);
-          m_beaconWatchdog.Ping (delay);
+          m_beaconWatchdog->Ping (delay);
           goodBeacon = true;
         }
       if (goodBeacon) 
@@ -343,7 +343,7 @@
             }
           SetBssid (hdr->GetAddr3 ());
           Time delay = MicroSeconds (probeResp.GetBeaconIntervalUs () * m_maxMissedBeacons);
-          m_watchdog->Ping (delay);
+          m_beaconWatchdog->Ping (delay);
           if (m_probeRequestEvent.IsRunning ()) 
             {
               m_probeRequestEvent.Cancel ();