From 52d2d61105c43f4cd1e1eb8512229bc0e18ce645 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Wed, 15 Jul 2009 14:59:44 +0200 Subject: [PATCH] fix optimized build --- src/devices/wifi/interference-helper.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/devices/wifi/interference-helper.cc b/src/devices/wifi/interference-helper.cc index 32d9d194a..930aadb3d 100644 --- a/src/devices/wifi/interference-helper.cc +++ b/src/devices/wifi/interference-helper.cc @@ -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"); }