From adf8667d727dfd677f44aaea906e5333932cced4 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Fri, 13 Jul 2018 10:51:26 +0300 Subject: [PATCH] wifi: fix minstrel-ht-stats output --- src/wifi/model/minstrel-ht-wifi-manager.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wifi/model/minstrel-ht-wifi-manager.cc b/src/wifi/model/minstrel-ht-wifi-manager.cc index 004fe0b30..0b77db478 100644 --- a/src/wifi/model/minstrel-ht-wifi-manager.cc +++ b/src/wifi/model/minstrel-ht-wifi-manager.cc @@ -1706,10 +1706,10 @@ MinstrelHtWifiManager::StatsDump (MinstrelHtWifiRemoteStation *station, uint8_t } else { - of << std::setw (7) << " MCS" << i << "/" << (int) group.streams; + of << std::setw (7) << " MCS" << +i << "/" << (int) group.streams; } - of << " " << std::setw (3) << idx << " "; + of << " " << std::setw (3) << +idx << " "; /* tx_time[rate(i)] in usec */ txTime = GetFirstMpduTxTime (groupId, GetMcsSupported (station, station->m_groupsTable[groupId].m_ratesTable[i].mcsIndex));