diff --git a/src/devices/wifi/wifi-remote-station-manager.cc b/src/devices/wifi/wifi-remote-station-manager.cc index f10c2071f..571694e68 100644 --- a/src/devices/wifi/wifi-remote-station-manager.cc +++ b/src/devices/wifi/wifi-remote-station-manager.cc @@ -740,7 +740,7 @@ WifiRemoteStationInfo::WifiRemoteStationInfo () : {} double -WifiRemoteStationInfo::CalculateAveragingCoeffitient () +WifiRemoteStationInfo::CalculateAveragingCoefficient () { double retval = exp((double) (m_lastUpdate.GetMicroSeconds () - Simulator::Now ().GetMicroSeconds()) / (double)m_memoryTime.GetMicroSeconds () diff --git a/src/devices/wifi/wifi-remote-station-manager.h b/src/devices/wifi/wifi-remote-station-manager.h index 81e8437c4..4054ca13d 100644 --- a/src/devices/wifi/wifi-remote-station-manager.h +++ b/src/devices/wifi/wifi-remote-station-manager.h @@ -399,7 +399,7 @@ private: * \attention Calling this method twice gives different results, * because it resets time of last update. */ - double CalculateAveragingCoeffitient (); + double CalculateAveragingCoefficient (); ///averaging coefficient depends on the memory time Time m_memoryTime; ///when last update has occured