wifi: (fixes #2606) Ideal manager checks the remote station is HT/VHT compatible when searching for modes

This commit is contained in:
Matias Richart
2017-02-02 20:51:32 +01:00
parent 100b27b1cf
commit cdd7bb9e99
2 changed files with 3 additions and 1 deletions

View File

@@ -279,7 +279,8 @@ IdealWifiManager::DoGetDataTxVector (WifiRemoteStation *st)
}
else
{
if (HasVhtSupported () == true || HasHtSupported () == true)
if ((HasVhtSupported () == true || HasHtSupported () == true)
&& (GetHtSupported (st) == true || GetVhtSupported (st) == true))
{
for (uint32_t i = 0; i < GetNMcsSupported (station); i++)
{