Replace FATAL_ERROR with ASSERT

This commit is contained in:
Alexander Krotov
2018-07-20 18:54:48 +03:00
parent f5f26c6b43
commit 79a006bfc4

View File

@@ -653,10 +653,7 @@ MinstrelHtWifiManager::DoReportAmpduTxStatus (WifiRemoteStation *st, uint8_t nSu
return;
}
if (!station->m_isHt)
{
NS_FATAL_ERROR ("A-MPDU Tx Status called but no HT or VHT supported.");
}
NS_ASSERT_MSG (station->m_isHt, "A-MPDU Tx Status called but no HT or VHT supported.");
NS_LOG_DEBUG ("DoReportAmpduTxStatus. TxRate=" << station->m_txrate << " SuccMpdus= " <<
+nSuccessfulMpdus << " FailedMpdus= " << +nFailedMpdus);