aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/abis_rsl.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-07-22 13:26:34 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-07-22 13:26:37 +0200
commitdf420dbe74c596b5ce00d738bde77eeeed71a354 (patch)
treeb9388b9feafac23fc7687d0536d93e75d7b0690e /src/osmo-bsc/abis_rsl.c
parent7801bbae82730a569282187f5ca2b6e1a35c242a (diff)
Fix recent regression in CHREQ allocation
Recent commit introduces a silly bug when changing code. Fixing it now. Fixes: fdb87343d7a747575fae0bb436cd9d105b9748e9 Change-Id: I1e8027a3933c3c8450e76e1325d0f7c28a89a6d1
Diffstat (limited to 'src/osmo-bsc/abis_rsl.c')
-rw-r--r--src/osmo-bsc/abis_rsl.c2
1 files changed, 1 insertions, 1 deletions
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);