From df420dbe74c596b5ce00d738bde77eeeed71a354 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 22 Jul 2021 13:26:34 +0200 Subject: Fix recent regression in CHREQ allocation Recent commit introduces a silly bug when changing code. Fixing it now. Fixes: fdb87343d7a747575fae0bb436cd9d105b9748e9 Change-Id: I1e8027a3933c3c8450e76e1325d0f7c28a89a6d1 --- src/osmo-bsc/abis_rsl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c index 5bb0efe12..f6ae19a89 100644 --- a/src/osmo-bsc/abis_rsl.c +++ b/src/osmo-bsc/abis_rsl.c @@ -2004,7 +2004,7 @@ void abis_rsl_chan_rqd_queue_poll(struct gsm_bts *bts) * */ - if (GSM_CHREQ_REASON_CALL) { + if (rqd->reason == GSM_CHREQ_REASON_CALL) { lchan = _select_sdcch_for_call(bts, rqd, lctype); } else if (rqd->reason != GSM_CHREQ_REASON_EMERG) { lchan = lchan_select_by_type(bts, GSM_LCHAN_SDCCH); -- cgit v1.2.3