examples/mixed-wireless.cc
changeset 3893 94f771c1373a
parent 3888 a15618dcd0eb
child 3894 6b3415c550e1
--- a/examples/mixed-wireless.cc	Wed Jun 11 16:19:01 2008 -0700
+++ b/examples/mixed-wireless.cc	Wed Jun 11 16:19:28 2008 -0700
@@ -137,7 +137,6 @@
   //
   WifiHelper wifi;
   wifi.SetMac ("ns3::AdhocWifiMac");
-  wifi.SetPhy ("ns3::YansWifiPhy");
   NetDeviceContainer backboneDevices = wifi.Install (backbone);
   //
   // Add the IPv4 protocol stack to the nodes in our container
@@ -246,7 +245,6 @@
       //
       WifiHelper wifiInfra;
       wifiInfra.SetMac ("ns3::AdhocWifiMac");
-      wifiInfra.SetPhy ("ns3::YansWifiPhy");
       NetDeviceContainer infraDevices = wifiInfra.Install (infra);
 
       // Add the IPv4 protocol stack to the nodes in our container