examples/wireless/wifi-simple-adhoc-grid.cc
changeset 6041 b65c6d6794f8
parent 6014 d251d4a44fde
child 6360 d8975477ff6a
--- a/examples/wireless/wifi-simple-adhoc-grid.cc	Mon Feb 01 14:23:41 2010 -0800
+++ b/examples/wireless/wifi-simple-adhoc-grid.cc	Wed Feb 03 13:26:39 2010 -0800
@@ -160,7 +160,7 @@
   // set it to zero; otherwise, gain will be added
   wifiPhy.Set ("RxGain", DoubleValue (-10) ); 
   // ns-3 supports RadioTap and Prism tracing extensions for 802.11b
-  wifiPhy.SetPcapDataLinkType (PcapHelper::DLT_IEEE802_11_RADIO); 
+  wifiPhy.SetPcapDataLinkType (YansWifiPhyHelper::DLT_IEEE802_11_RADIO); 
 
   YansWifiChannelHelper wifiChannel ;
   wifiChannel.SetPropagationDelay ("ns3::ConstantSpeedPropagationDelayModel");