wifi: Move m_stateLogger to private in WifiPhyStateHelper
authorSébastien Deronne <sebastien.deronne@gmail.com>
Mon, 06 Mar 2017 21:09:36 +0100
changeset 12735 0fcc1473d7fa
parent 12734 84a37c94fde5
child 12736 88d603958635
wifi: Move m_stateLogger to private in WifiPhyStateHelper
src/wifi/model/wifi-phy-state-helper.h
--- a/src/wifi/model/wifi-phy-state-helper.h	Mon Mar 06 02:09:25 2017 +0100
+++ b/src/wifi/model/wifi-phy-state-helper.h	Mon Mar 06 21:09:36 2017 +0100
@@ -186,9 +186,6 @@
    */
   void SwitchFromSleep (Time duration);
 
-  /** \todo Why is this public? */
-  TracedCallback<Time, Time, WifiPhy::State> m_stateLogger;
-
   /**
    * TracedCallback signature for state changes.
    *
@@ -291,6 +288,11 @@
    */
   void DoSwitchFromRx (void);
 
+  /**
+   * The trace source fired when state is changed.
+   */
+  TracedCallback<Time, Time, WifiPhy::State> m_stateLogger;
+
   bool m_rxing; ///< receiving
   bool m_sleeping; ///< sleeping
   Time m_endTx; ///< end transmit