abis_rsl: delete CHAN RQD from queue when rach ind was sent

The CHAN REQ entry is not deleted after its information was passed on to
the PCU. This causes the same entry to be used over and over again while
blocking other incoming CHAN RQD.

Change-Id: Ia4abc55fc6fcb1c00991cc84d09529131d014910
Related: OS#5198
This commit is contained in:
Philipp Maier 2022-10-12 12:21:41 +02:00
parent 62c13d99d0
commit ad27ef2b15
1 changed files with 4 additions and 2 deletions

View File

@ -2147,8 +2147,8 @@ void abis_rsl_chan_rqd_queue_poll(struct gsm_bts *bts)
/* Handle PDCH related rach requests (in case of BSC-co-located-PCU) */
if (rqd->reason == GSM_CHREQ_REASON_PDCH) {
rsl_rx_pchan_rqd(rqd);
return;
if (rsl_rx_pchan_rqd(rqd) == 0)
goto leave;
}
/* Ensure that emergency calls will get priority over regular calls, however releasing
@ -2234,6 +2234,8 @@ void abis_rsl_chan_rqd_queue_poll(struct gsm_bts *bts)
};
lchan_activate(lchan, &info);
leave:
llist_del(&rqd->entry);
talloc_free(rqd);
return;