fix misspelled attribute and doxygen in YansWifiPhy
authorSébastien Deronne <sebastien.deronne@gmail.com>
Wed, 19 Nov 2014 14:05:36 -0800
changeset 11065 2e6f9e4be3a3
parent 11064 a0562c615abc
child 11066 d78d77e4b920
fix misspelled attribute and doxygen in YansWifiPhy
CHANGES.html
src/wifi/model/yans-wifi-phy.cc
src/wifi/model/yans-wifi-phy.h
--- a/CHANGES.html	Wed Nov 19 13:22:52 2014 -0800
+++ b/CHANGES.html	Wed Nov 19 14:05:36 2014 -0800
@@ -61,7 +61,6 @@
        the stats module, enabling TracedValues emitting values of type 
        ns3::Time to be handled by the framework.
   </li>
-
 </ul>
 
 <h2>Changes to existing API:</h2>
@@ -74,6 +73,9 @@
   </li>
   <li> WifiPhy::CalculateTxDuration() and WifiPhy::GetPayloadDurationMicroSeconds () now take an additional frequency parameter.
   </li>
+  <li> The attribute 'Recievers' in class YansWifiPhy was misspelled, so
+       this has been corrected to 'Receivers'.
+  </li>
 </ul>
 
 <h2>Changes to build system:</h2>
--- a/src/wifi/model/yans-wifi-phy.cc	Wed Nov 19 13:22:52 2014 -0800
+++ b/src/wifi/model/yans-wifi-phy.cc	Wed Nov 19 14:05:36 2014 -0800
@@ -131,7 +131,7 @@
                    MakeUintegerAccessor (&YansWifiPhy::GetNumberOfTransmitAntennas,
                                         &YansWifiPhy::SetNumberOfTransmitAntennas),
                    MakeUintegerChecker<uint32_t> ())
-    .AddAttribute ("Recievers", "The number of recievers.",
+    .AddAttribute ("Receivers", "The number of receivers.",
                    UintegerValue (1),
                    MakeUintegerAccessor (&YansWifiPhy::GetNumberOfReceiveAntennas,
                                         &YansWifiPhy::SetNumberOfReceiveAntennas),
--- a/src/wifi/model/yans-wifi-phy.h	Wed Nov 19 13:22:52 2014 -0800
+++ b/src/wifi/model/yans-wifi-phy.h	Wed Nov 19 14:05:36 2014 -0800
@@ -477,7 +477,7 @@
   bool     m_stbc;                  //!< Flag if STBC is used      
   bool     m_greenfield;            //!< Flag if GreenField format is supported
   bool     m_guardInterval;         //!< Flag if short guard interval is used
-  bool     m_channelBonding;        //!< Flag if channel conding is used
+  bool     m_channelBonding;        //!< Flag if channel bonding is used
 
 
   /**