diff --git a/src/wifi/helper/wifi-helper.cc b/src/wifi/helper/wifi-helper.cc index ec4285353..6a1f2137c 100644 --- a/src/wifi/helper/wifi-helper.cc +++ b/src/wifi/helper/wifi-helper.cc @@ -765,7 +765,7 @@ WifiHelper::Install (const WifiPhyHelper &phyHelper, Ptr htConfiguration = CreateObject (); device->SetHtConfiguration (htConfiguration); } - if (it->second.phyStandard >= WIFI_PHY_STANDARD_80211ac) + if ((it->second.phyStandard >= WIFI_PHY_STANDARD_80211ac) && (it->second.phyBand != WIFI_PHY_BAND_2_4GHZ)) { Ptr vhtConfiguration = CreateObject (); device->SetVhtConfiguration (vhtConfiguration);