mirror of https://github.com/PentHertz/srsLTE.git
reword PDCP log when dropping PDU
This commit is contained in:
parent
8559af55c5
commit
2979e43b37
|
@ -204,7 +204,7 @@ void pdcp_entity::write_pdu(byte_buffer_t *pdu)
|
||||||
} else {
|
} else {
|
||||||
// Handle SRB messages
|
// Handle SRB messages
|
||||||
if (cfg.is_control) {
|
if (cfg.is_control) {
|
||||||
uint32_t sn;
|
uint32_t sn = 0;
|
||||||
if (do_encryption) {
|
if (do_encryption) {
|
||||||
cipher_decrypt(&(pdu->msg[sn_len_bytes]),
|
cipher_decrypt(&(pdu->msg[sn_len_bytes]),
|
||||||
rx_count,
|
rx_count,
|
||||||
|
@ -218,7 +218,7 @@ void pdcp_entity::write_pdu(byte_buffer_t *pdu)
|
||||||
rx_count,
|
rx_count,
|
||||||
pdu->N_bytes - 4,
|
pdu->N_bytes - 4,
|
||||||
&(pdu->msg[pdu->N_bytes - 4]))) {
|
&(pdu->msg[pdu->N_bytes - 4]))) {
|
||||||
log->error_hex(pdu->msg, pdu->N_bytes, "RX %s PDU SN: %d (Dropping PDU)", rrc->get_rb_name(lcid).c_str(), sn);
|
log->error_hex(pdu->msg, pdu->N_bytes, "%s Dropping PDU", rrc->get_rb_name(lcid).c_str());
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue