wifi: Fix potential issue that HT stations are seen as non-HT if they use only default HT capabilities

This commit is contained in:
Sébastien Deronne
2017-01-07 15:51:10 +01:00
parent fcbcae5258
commit 4a56f96f1d

View File

@@ -902,7 +902,7 @@ ApWifiMac::Receive (Ptr<Packet> 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++)