From b2a44942a8e711ecd1d43cfb9283aa876e69b109 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Thu, 11 Oct 2007 16:51:59 +0200 Subject: [PATCH] use the default propagation models --- src/devices/wifi/wifi-channel.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/devices/wifi/wifi-channel.cc b/src/devices/wifi/wifi-channel.cc index e6b7ac41f..0a74fe4af 100644 --- a/src/devices/wifi/wifi-channel.cc +++ b/src/devices/wifi/wifi-channel.cc @@ -39,6 +39,8 @@ WifiChannel::ReceiveData::ReceiveData (const Packet &packet, double rxPowerDbm, WifiChannel::WifiChannel () + : m_loss (PropagationLossModel::CreateDefault ()), + m_delay (PropagationDelayModel::CreateDefault ()) {} WifiChannel::~WifiChannel () {}