summaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-11-13 04:46:03 +0100
committerHarald Welte <laforge@gnumonks.org>2015-01-05 14:05:32 +0100
commit1dcc2603e9f06e8be3769a2b1f93e3b761f87c52 (patch)
treee3522e29ab2af3a5603bcb326dddc8e4a9c61441 /openbsc
parente5d2c60ae661e801b7049a2c9526712ded895cc1 (diff)
Don't return an error to caller if we are out of lchan on CHAN RQD
This is a normal situation under high load: The BTS is out of resources and the BSC cannot allocate any dedicated channel. We may send an IMM ASS REJECT back to the MS. All well within normal parameters, not an error that needs to be reported back to the caller, who propagates it all the way up to libosmo-abis.
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/libbsc/abis_rsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c
index 479323d3d..e4137fdf5 100644
--- a/openbsc/src/libbsc/abis_rsl.c
+++ b/openbsc/src/libbsc/abis_rsl.c
@@ -1448,7 +1448,7 @@ static int rsl_rx_chan_rqd(struct msgb *msg)
/* FIXME gather multiple CHAN RQD and reject up to 4 at the same time */
if (bts->network->T3122)
rsl_send_imm_ass_rej(bts, 1, rqd_ref, bts->network->T3122 & 0xff);
- return -ENOMEM;
+ return 0;
}
if (lchan->state != LCHAN_S_NONE)