From 4a56f96f1db785ad2008298e2b770ca9be85e564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Sat, 7 Jan 2017 15:51:10 +0100 Subject: [PATCH] wifi: Fix potential issue that HT stations are seen as non-HT if they use only default HT capabilities --- src/wifi/model/ap-wifi-mac.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wifi/model/ap-wifi-mac.cc b/src/wifi/model/ap-wifi-mac.cc index c60568cfd..01b51cbf7 100644 --- a/src/wifi/model/ap-wifi-mac.cc +++ b/src/wifi/model/ap-wifi-mac.cc @@ -902,7 +902,7 @@ ApWifiMac::Receive (Ptr packet, const WifiMacHeader *hdr) { //check whether the HT STA supports all MCSs in Basic MCS Set HtCapabilities htcapabilities = assocReq.GetHtCapabilities (); - if (htcapabilities.GetHtCapabilitiesInfo () != 0) + if (htcapabilities.IsSupportedMcs (0)) { isHtStation = true; for (uint32_t i = 0; i < m_stationManager->GetNBasicMcs (); i++)