--- a/src/devices/wifi/wifi-net-device.cc Thu Feb 28 06:18:39 2008 +0100
+++ b/src/devices/wifi/wifi-net-device.cc Thu Feb 28 07:17:53 2008 +0100
@@ -227,12 +227,6 @@
// WifiMacParameters
WifiMacParameters *parameters = new WifiMacParameters ();
- WifiMacHeader hdr;
- hdr.SetType (WIFI_MAC_CTL_CTS);
- Time ctsDelay = m_phy->CalculateTxDuration (hdr.GetSize () + 4, m_phy->GetMode (0), WIFI_PREAMBLE_LONG);
- hdr.SetType (WIFI_MAC_CTL_ACK);
- Time ackDelay = m_phy->CalculateTxDuration (hdr.GetSize () + 4, m_phy->GetMode (0), WIFI_PREAMBLE_LONG);
- parameters->Initialize (ctsDelay, ackDelay);
m_parameters = parameters;
m_stations->SetParameters (m_parameters);