rlc_am_lte: turn error message into warning and print state variables

the issue doesn't cause any unrecoverable situation so its not
appropiate to use the error level
This commit is contained in:
Andre Puschmann 2020-06-30 14:25:56 +02:00
parent a5c0f96fa7
commit eb56efe9f5
1 changed files with 4 additions and 1 deletions

View File

@ -1675,7 +1675,10 @@ int rlc_am_lte::rlc_am_lte_rx::get_status_pdu(rlc_status_pdu_t* status, const ui
status->N_nack = 0;
}
} else {
log->error("Failed to generate small enough status PDU\n");
log->warning("Failed to generate small enough status PDU (packed_len=%d, max_pdu_size=%d, status->N_nack=%d)\n",
rlc_am_packed_length(status),
max_pdu_size,
status->N_nack);
}
break;
}