fix optimized build

This commit is contained in:
Mathieu Lacage
2009-07-15 14:59:44 +02:00
parent 0d45e73575
commit 52d2d61105

View File

@@ -369,6 +369,9 @@ InterferenceHelper::GetPayloadDurationMicroSeconds (uint32_t size, WifiMode payl
case WIFI_PHY_STANDARD_80211_5Mhz:
symbolDurationUs = 16;
break;
case WIFI_PHY_STANDARD_80211b:
NS_FATAL_ERROR("can't happen here");
symbolDurationUs = 0; // quiet compiler
default:
NS_FATAL_ERROR("unknown standard");
}