--- a/src/wave/model/wave-mac-low.cc Wed Sep 02 16:37:05 2015 -0700
+++ b/src/wave/model/wave-mac-low.cc Thu Sep 03 22:16:49 2015 +0200
@@ -84,7 +84,7 @@
WifiTxVector txAdapter;
// the DataRate set by higher layer is the minimum data rate
// which is the lower bound for the actual data rate.
- if (txHigher.GetMode ().GetDataRate () > txMac.GetMode ().GetDataRate ())
+ if (txHigher.GetMode ().GetDataRate (txHigher.GetChannelWidth (), txHigher.IsShortGuardInterval (), 1) > txMac.GetMode ().GetDataRate (txMac.GetChannelWidth (), txMac.IsShortGuardInterval (), 1))
{
txAdapter.SetMode (txHigher.GetMode ());
}