From 1fb22f9b9b5307b20b0f2d55778ab8a4d2bdb5d7 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Thu, 25 Feb 2010 14:58:23 +0100 Subject: [PATCH] fix typo --- src/devices/wifi/wifi-remote-station-manager.cc | 2 +- src/devices/wifi/wifi-remote-station-manager.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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