diff -r 7e5c1a14eff3 src/devices/wifi/minstrel-wifi-manager.cc --- a/src/devices/wifi/minstrel-wifi-manager.cc Wed Sep 15 20:43:31 2010 -0700 +++ b/src/devices/wifi/minstrel-wifi-manager.cc Thu Sep 16 14:30:07 2010 +1000 @@ -525,7 +525,7 @@ } /// error check - if (idx >= m_nsupported || idx < 0) + if (idx >= m_nsupported) { NS_LOG_DEBUG ("ALERT!!! ERROR"); }