wifi: fix minstrel-ht-stats output
authorAlexander Krotov <krotov@iitp.ru>
Fri, 13 Jul 2018 10:51:26 +0300
changeset 13685 f6dadb7a09be
parent 13684 82dd11136f4c
child 13686 444b9414adf2
wifi: fix minstrel-ht-stats output
src/wifi/model/minstrel-ht-wifi-manager.cc
--- a/src/wifi/model/minstrel-ht-wifi-manager.cc	Thu Jul 12 15:16:35 2018 +0300
+++ b/src/wifi/model/minstrel-ht-wifi-manager.cc	Fri Jul 13 10:51:26 2018 +0300
@@ -1706,10 +1706,10 @@
             }
           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));