wifi: Fix functions to retrieve supported MCS in VHT capabilities (patch from Ioannis Selinis)

This commit is contained in:
Sébastien Deronne
2016-07-06 21:46:58 +02:00
parent a50af0a233
commit 35eb8ab4c6

View File

@@ -302,7 +302,7 @@ VhtCapabilities::IsSupportedTxMcs (uint8_t mcs) const
{
return true;
}
if (mcs == 8 && m_txMcsMap[0] == 1)
if (mcs == 8 && (m_txMcsMap[0] == 1 || m_txMcsMap[0] == 2))
{
return true;
}
@@ -321,7 +321,7 @@ VhtCapabilities::IsSupportedRxMcs (uint8_t mcs) const
{
return true;
}
if (mcs == 8 && m_rxMcsMap[0] == 1)
if (mcs == 8 && (m_rxMcsMap[0] == 1 || m_rxMcsMap[0] == 2))
{
return true;
}