Bug 2242 - Mobility of both sender PHY and receiver PHY set to sender mobility in lr-wpan-phy-test.cc example.
authorTanmay Kathpalia <tanmay.kathpalia@landisgyr.com>
Sun, 06 Dec 2015 01:58:53 +0100
changeset 11782 7bbc71a7c0c9
parent 11781 8979a92703eb
child 11783 8f127e49e051
Bug 2242 - Mobility of both sender PHY and receiver PHY set to sender mobility in lr-wpan-phy-test.cc example.
RELEASE_NOTES
src/lr-wpan/examples/lr-wpan-phy-test.cc
--- a/RELEASE_NOTES	Sat Dec 05 17:36:45 2015 +0100
+++ b/RELEASE_NOTES	Sun Dec 06 01:58:53 2015 +0100
@@ -72,6 +72,7 @@
 - Bug 2233 - Implement RFC 1222 - Strong End System Model
 - Bug 2234 - Ipv6L3Protocol should trash multicast packets not interesting for the node
 - Bug 2238 - Ipv6 routing reorganization
+- Bug 2242 - Mobility of both sender PHY and receiver PHY set to sender mobility in lr-wpan-phy-test.cc example.
 
 Known issues
 ------------
--- a/src/lr-wpan/examples/lr-wpan-phy-test.cc	Sat Dec 05 17:36:45 2015 +0100
+++ b/src/lr-wpan/examples/lr-wpan-phy-test.cc	Sun Dec 06 01:58:53 2015 +0100
@@ -71,7 +71,7 @@
   Ptr<ConstantPositionMobilityModel> senderMobility = CreateObject<ConstantPositionMobilityModel> ();
   sender->SetMobility (senderMobility);
   Ptr<ConstantPositionMobilityModel> receiverMobility = CreateObject<ConstantPositionMobilityModel> ();
-  receiver->SetMobility (senderMobility);
+  receiver->SetMobility (receiverMobility);
 
 
   sender->SetPlmeSetTRXStateConfirmCallback (MakeCallback (&GetSetTRXStateConfirm));