Do not lock on ConnectionReconfiguration

This commit is contained in:
Ismael Gomez 2018-04-27 10:13:49 +02:00
parent 3bf9ca6195
commit 68cbb6ca7f
2 changed files with 3 additions and 7 deletions

View File

@ -1233,7 +1233,7 @@ phch_recv::measure::ret_code phch_recv::measure::run_multiple_subframes(cf_t *in
return MEASURE_OK;
}
} else {
Info("INTRA: not running because offset=%d, sf_len*max_sf=%d*%d\n", offset, sf_len, max_sf);
Error("INTRA: not running because offset=%d, sf_len*max_sf=%d*%d\n", offset, sf_len, max_sf);
ret = ERROR;
}
return ret;

View File

@ -1506,10 +1506,8 @@ void rrc::con_reconfig_failed()
}
}
void rrc::handle_rrc_con_reconfig(uint32_t lcid, LIBLTE_RRC_CONNECTION_RECONFIGURATION_STRUCT *reconfig) {
pthread_mutex_lock(&mutex);
void rrc::handle_rrc_con_reconfig(uint32_t lcid, LIBLTE_RRC_CONNECTION_RECONFIGURATION_STRUCT *reconfig)
{
phy->get_config(&previous_phy_cfg);
mac->get_config(&previous_mac_cfg);
@ -1522,8 +1520,6 @@ void rrc::handle_rrc_con_reconfig(uint32_t lcid, LIBLTE_RRC_CONNECTION_RECONFIGU
con_reconfig_failed();
}
}
pthread_mutex_unlock(&mutex);
}
/* Actions upon reception of RRCConnectionRelease 5.3.8.3 */