mirror of https://github.com/PentHertz/srsLTE.git
Let PDCP Control PDUs be processed
This commit is contained in:
parent
9b6aaac1b5
commit
538f38cf54
|
@ -195,7 +195,8 @@ void pdcp_entity::write_pdu(unique_byte_buffer_t pdu)
|
|||
(do_encryption) ? "true" : "false");
|
||||
|
||||
// Sanity check
|
||||
if (pdu->N_bytes <= sn_len_bytes) {
|
||||
if (pdu->N_bytes < sn_len_bytes) {
|
||||
log->debug("Ignoring PDCP PDU: size=%d, sn_len_bytes=%d\n", pdu->N_bytes, sn_len_bytes);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue