diff --git a/src/wifi/model/minstrel-ht-wifi-manager.cc b/src/wifi/model/minstrel-ht-wifi-manager.cc index c1eeb9dba..976aa958f 100644 --- a/src/wifi/model/minstrel-ht-wifi-manager.cc +++ b/src/wifi/model/minstrel-ht-wifi-manager.cc @@ -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);