Change order which reestablish is called in eNB

Make sure that RLC info queue is reset when reestablish happens
master
Pedro Alvarez 4 years ago
parent a7949e69c8
commit ba5367bc56

@ -242,6 +242,10 @@ void rlc_am_lte::rlc_am_lte_tx::stop()
// Drop all messages in RETX queue
retx_queue.clear();
// Drop all SDU info in queue
undelivered_sdu_info_queue.clear();
pthread_mutex_unlock(&mutex);
}

@ -970,8 +970,8 @@ void rrc::ue::rrc_mobility::handle_crnti_ce(intraenb_ho_st& s, const user_crnti_
if (is_first_crnti_ce) {
// Need to reset SNs of bearers.
rrc_enb->pdcp->reestablish(rrc_ue->rnti);
rrc_enb->rlc->reestablish(rrc_ue->rnti);
rrc_enb->pdcp->reestablish(rrc_ue->rnti);
// Change PCell in MAC/Scheduler
rrc_ue->mac_ctrl.handle_crnti_ce(ev.temp_crnti);

Loading…
Cancel
Save