return the computed rate

This commit is contained in:
Mathieu Lacage committed 2007-12-13 15:04:11 +01:00
1 parent 465bf1c10a
commit cc9655af45
1 file changed
+2 -2
+2 -2
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)