Let PDCP Control PDUs be processed

This commit is contained in:
Ismael Gomez 2019-07-11 15:43:21 +02:00
parent 9b6aaac1b5
commit 538f38cf54
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}