src/wifi/test/wifi-test.cc
changeset 11451 36f951da53ac
parent 11450 9f4ae69f12b7
child 11581 e205cbdadc69
--- a/src/wifi/test/wifi-test.cc	Sun Jun 21 00:23:45 2015 +0200
+++ b/src/wifi/test/wifi-test.cc	Mon Jun 22 18:28:40 2015 +0200
@@ -121,7 +121,6 @@
   phy->SetErrorRateModel (error);
   phy->SetChannel (channel);
   phy->SetDevice (dev);
-  phy->SetMobility (node);
   phy->ConfigureStandard (WIFI_PHY_STANDARD_80211a);
   Ptr<WifiRemoteStationManager> manager = m_manager.Create<WifiRemoteStationManager> ();
 
@@ -271,7 +270,7 @@
   phy->SetErrorRateModel (error);
   phy->SetChannel (channel);
   phy->SetDevice (dev);
-  phy->SetMobility (node);
+  phy->SetMobility (mobility);
   phy->ConfigureStandard (WIFI_PHY_STANDARD_80211a);
   Ptr<WifiRemoteStationManager> manager = m_manager.Create<WifiRemoteStationManager> ();
 
@@ -448,7 +447,7 @@
   txPhy->SetErrorRateModel (txError);
   txPhy->SetChannel (channel);
   txPhy->SetDevice (txDev);
-  txPhy->SetMobility (txNode);
+  txPhy->SetMobility (txMobility);
   txPhy->ConfigureStandard (WIFI_PHY_STANDARD_80211a);
 
   txPhy->TraceConnectWithoutContext ("PhyTxBegin", MakeCallback (&Bug555TestCase::NotifyPhyTxBegin, this));