|
|
@ -248,9 +248,9 @@ int proc_bsr_nr::setup_lcid(uint32_t lcid, uint32_t new_lcg, uint32_t priority)
|
|
|
|
|
|
|
|
|
|
|
|
// Check that the new priority doesn't not already exist
|
|
|
|
// Check that the new priority doesn't not already exist
|
|
|
|
auto it = lcg_priorities.find(priority);
|
|
|
|
auto it = lcg_priorities.find(priority);
|
|
|
|
if (it != lcg_priorities.end() and *it != new_lcg) {
|
|
|
|
if (it != lcg_priorities.end() and it->second != new_lcg) {
|
|
|
|
logger.error(
|
|
|
|
logger.error(
|
|
|
|
"BSR: Invalid config. Priority=%d already configured for lcg=%d", priority, *it);
|
|
|
|
"BSR: Invalid config. Priority=%d already configured for lcg=%d", priority, it->second);
|
|
|
|
return SRSRAN_ERROR;
|
|
|
|
return SRSRAN_ERROR;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|