src/devices/wifi/wifi-net-device.cc
changeset 2230 9f13ac3291e0
parent 2169 06af4e3c25a2
child 2292 5d82197dc451
--- a/src/devices/wifi/wifi-net-device.cc	Sun Dec 30 19:36:44 2007 -0800
+++ b/src/devices/wifi/wifi-net-device.cc	Wed Jan 02 09:09:24 2008 +0100
@@ -178,7 +178,7 @@
   EnableBroadcast (Mac48Address ("ff:ff:ff:ff:ff:ff"));
 
   // the physical layer.
-  m_phy = Create<WifiPhy> (this);
+  m_phy = CreateObject<WifiPhy> (this);
 
   // the rate control algorithm
   switch (WifiDefaultParameters::GetRateControlAlgorithm ()) {