src/devices/wifi/nqap-wifi-mac.cc
changeset 2965 4b28e9740e3b
parent 2686 e8cdac3c936f
child 2989 b7eb3929096c
--- a/src/devices/wifi/nqap-wifi-mac.cc	Mon Apr 14 16:19:17 2008 -0700
+++ b/src/devices/wifi/nqap-wifi-mac.cc	Thu Apr 17 13:42:25 2008 -0700
@@ -47,11 +47,11 @@
     .SetParent<WifiMac> ()
     .AddConstructor<NqapWifiMac> ()
     .AddAttribute ("BeaconInterval", "Delay between two beacons",
-                   Seconds (1.0),
+                   TimeValue (Seconds (1.0)),
                    MakeTimeAccessor (&NqapWifiMac::m_beaconInterval),
                    MakeTimeChecker ())
     .AddAttribute ("BeaconGeneration", "Whether or not beacons are generated.",
-                   Boolean (false),
+                   BooleanValue (false),
                    MakeBooleanAccessor (&NqapWifiMac::SetBeaconGeneration,
                                         &NqapWifiMac::GetBeaconGeneration),
                    MakeBooleanChecker ())