lte: Fix limitation on number of component carriers in LteHelper

This commit is contained in:
Alexander Krotov
2017-06-19 16:18:43 +03:00
parent c94bf26d8b
commit c56596b64e

View File

@@ -196,7 +196,7 @@ TypeId LteHelper::GetTypeId (void)
"If it is more than one and m_useCa is false, it will raise an error ",
UintegerValue (1),
MakeUintegerAccessor (&LteHelper::m_noOfCcs),
MakeUintegerChecker<uint16_t> (1, 3))
MakeUintegerChecker<uint16_t> (MIN_NO_CC, MAX_NO_CC))
;
return tid;
}