src/devices/wifi/minstrel-wifi-manager.cc
changeset 6645 b89ac19713c6
parent 6337 92c95748a915
equal deleted inserted replaced
6644:a5cf56882003 6645:b89ac19713c6
   523               station->m_sampleCount = 0;
   523               station->m_sampleCount = 0;
   524               station->m_packetCount = 0;
   524               station->m_packetCount = 0;
   525             }
   525             }
   526 
   526 
   527           /// error check
   527           /// error check
   528           if (idx >= m_nsupported || idx < 0)
   528           if (idx >= m_nsupported)
   529             {
   529             {
   530               NS_LOG_DEBUG ("ALERT!!! ERROR");
   530               NS_LOG_DEBUG ("ALERT!!! ERROR");
   531             }
   531             }
   532 
   532 
   533           /// set the rate that we're currently sampling
   533           /// set the rate that we're currently sampling