Fix typo in previous commit and remove printf

This commit is contained in:
Ismael Gomez 2018-02-03 11:07:21 +01:00
parent 8f2db5feb8
commit c64c618194
2 changed files with 1 additions and 3 deletions

View File

@ -315,7 +315,7 @@ int rlc_am::read_pdu(uint8_t *payload, uint32_t nof_bytes)
// RETX if required
if(retx_queue.size() > 0) {
int ret = build_retx_pdu(payload, nof_bytes);
if (ret > 0) {s
if (ret > 0) {
pthread_mutex_unlock(&mutex);
return ret;
}

View File

@ -492,8 +492,6 @@ void rrc::set_serving_cell(uint32_t cell_idx) {
// Set new serving cell
serving_cell = new_serving_cell;
printf("Setting new serving cell idx=%d, PCI=%d, nof_neighbours=%d\n",
cell_idx, serving_cell->phy_cell.id, neighbour_cells.size());
rrc_log->info("Setting serving cell idx=%d, earfcn=%d, PCI=%d, nof_neighbours=%d\n",
cell_idx, serving_cell->earfcn, serving_cell->phy_cell.id, neighbour_cells.size());