lte: Make sure CC map is set on LteEnbNetDevice before cell configuration

This commit is contained in:
Alexander Krotov
2017-05-24 11:55:11 +03:00
parent 4b70ebf37f
commit 2faacd8384

View File

@@ -342,6 +342,7 @@ LteEnbNetDevice::GetCcMap ()
void
LteEnbNetDevice::SetCcMap (std::map< uint8_t, Ptr<ComponentCarrierEnb> > ccm)
{
NS_ASSERT_MSG (!m_isConfigured, "attempt to set CC map after configuration");
m_ccMap = ccm;
}