Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(13)

Unified Diff: src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.cc

Issue 6620057: Antenna/Orientation Support
Patch Set: Created 12 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/orientation/wscript ('k') | src/spectrum/helper/spectrum-analyzer-helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.cc
===================================================================
--- a/src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.cc
+++ b/src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.cc
@@ -162,7 +162,7 @@
Ptr<AntennaModel> antenna = (m_antenna.Create ())->GetObject<AntennaModel> ();
NS_ASSERT_MSG (antenna, "error in creating the AntennaModel object");
- phy->SetAntenna (antenna);
+ phy->AggregateObject (antenna);
node->AddDevice (dev);
devices.Add (dev);
« no previous file with comments | « src/orientation/wscript ('k') | src/spectrum/helper/spectrum-analyzer-helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b