return the computed rate

This commit is contained in:
Mathieu Lacage
2007-12-13 15:04:11 +01:00
parent 465bf1c10a
commit cc9655af45

View File

@@ -207,8 +207,8 @@ WifiMode
AmrrMacStation::DoGetDataMode (uint32_t size)
{
UpdateMode ();
//XXX
return GetSupportedMode (0);
NS_ASSERT (m_txrate < GetNSupportedModes ());
return GetSupportedMode (m_txrate);
}
WifiMode
AmrrMacStation::DoGetRtsMode (void)