Bug 802 - Minstrel algorithm causes segmentation fault

This commit is contained in:
Duy Nguyen
2010-04-21 17:00:57 +02:00
parent 70feac23e4
commit 2b952049df

View File

@@ -486,7 +486,7 @@ MinstrelWifiManager::DoGetRtsMode (WifiRemoteStation *st)
bool
MinstrelWifiManager::IsLowLatency (void) const
{
return false;
return true;
}
uint32_t
MinstrelWifiManager::GetNextSample (MinstrelWifiRemoteStation *station)
@@ -782,7 +782,7 @@ MinstrelWifiManager::InitSampleTable (MinstrelWifiRemoteStation *station)
{
newIndex = (newIndex + 1)%GetNSupported (station);
}
station->m_sampleTable[newIndex][col] = i+1;
station->m_sampleTable[newIndex][col] = i;
}
}