mirror of https://github.com/PentHertz/srsLTE.git
Do not deallocate BCCH buffer in dl_harq
This commit is contained in:
parent
dc65061dbb
commit
8f028e34f3
|
@ -226,7 +226,9 @@ private:
|
||||||
is_first_tb = true;
|
is_first_tb = true;
|
||||||
ack = false;
|
ack = false;
|
||||||
if (payload_buffer_ptr) {
|
if (payload_buffer_ptr) {
|
||||||
harq_entity->demux_unit->deallocate(payload_buffer_ptr);
|
if (pid != HARQ_BCCH_PID) {
|
||||||
|
harq_entity->demux_unit->deallocate(payload_buffer_ptr);
|
||||||
|
}
|
||||||
payload_buffer_ptr = NULL;
|
payload_buffer_ptr = NULL;
|
||||||
}
|
}
|
||||||
bzero(&cur_grant, sizeof(Tgrant));
|
bzero(&cur_grant, sizeof(Tgrant));
|
||||||
|
@ -342,7 +344,7 @@ private:
|
||||||
harq_entity->nof_pkts++);
|
harq_entity->nof_pkts++);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else if (pid != HARQ_BCCH_PID) {
|
||||||
harq_entity->demux_unit->deallocate(payload_buffer_ptr);
|
harq_entity->demux_unit->deallocate(payload_buffer_ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue