wave: (fixes #2510) Fix typo in iterator for WaveHelper::AssignStreams

This commit is contained in:
Junling Bu
2016-09-27 21:05:39 -07:00
parent 1368896ada
commit 25bb350e69

View File

@@ -421,7 +421,7 @@ WaveHelper::AssignStreams (NetDeviceContainer c, int64_t stream)
{
// Handle any random numbers in the PHY objects.
std::vector<Ptr<WifiPhy> > phys = wave->GetPhys ();
for (std::vector<Ptr<WifiPhy> >::iterator j = phys.begin (); j != phys.end (); ++i)
for (std::vector<Ptr<WifiPhy> >::iterator j = phys.begin (); j != phys.end (); ++j)
{
currentStream += (*j)->AssignStreams (currentStream);
}