spectrum: Fix assert hit when PHYs attached to a single model spectrum channel have switched to another channel
This commit is contained in:
@@ -90,6 +90,11 @@ SingleModelSpectrumChannel::AddRx(Ptr<SpectrumPhy> phy)
|
||||
{
|
||||
m_phyList.push_back(phy);
|
||||
}
|
||||
else
|
||||
{
|
||||
// PHY has switched its channel, reset m_spectrumModel
|
||||
m_spectrumModel = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user