# HG changeset patch # User Duy Nguyen # Date 1271862057 -7200 # Node ID 84e114d34b890701eaea37bebe13557797e21abe # Parent e61ce382fcdd5363a9d0052601c5eeae6f5e8d81 Bug 802 - Minstrel algorithm causes segmentation fault diff -r e61ce382fcdd -r 84e114d34b89 src/devices/wifi/minstrel-wifi-manager.cc --- a/src/devices/wifi/minstrel-wifi-manager.cc Wed Apr 21 08:39:57 2010 -0400 +++ b/src/devices/wifi/minstrel-wifi-manager.cc Wed Apr 21 17:00:57 2010 +0200 @@ -486,7 +486,7 @@ bool MinstrelWifiManager::IsLowLatency (void) const { - return false; + return true; } uint32_t MinstrelWifiManager::GetNextSample (MinstrelWifiRemoteStation *station) @@ -782,7 +782,7 @@ { newIndex = (newIndex + 1)%GetNSupported (station); } - station->m_sampleTable[newIndex][col] = i+1; + station->m_sampleTable[newIndex][col] = i; } }