path: root/openbsc/src/handover_logic.c
diff options
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-06 08:58:42 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-06 08:58:42 +0800
commit457c2a879ccc8ea9fb048a9c50c7aac4210f9ec7 (patch)
treea04341d04976a4ac9bf8e3f140e6f53275a19d15 /openbsc/src/handover_logic.c
parentd368a71398e7a6c4e3faa9489a75ef1dbdc87a87 (diff)
[alloc] Assign a TCH for LU when all SDCCHs are occupied.
When the cell becomes visible we will be bombed with location updating requests and to reduce the load on the network we should assign as many channels for it as possible. During load peek it is even more important than to have a spare voice channel and in general the LU procedure is pretty fast.
Diffstat (limited to 'openbsc/src/handover_logic.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/handover_logic.c b/openbsc/src/handover_logic.c
index 92580bfb..30cea7b0 100644
--- a/openbsc/src/handover_logic.c
+++ b/openbsc/src/handover_logic.c
@@ -104,7 +104,7 @@ int bsc_handover_start(struct gsm_lchan *old_lchan, struct gsm_bts *bts)
return -ENOSPC;
- new_lchan = lchan_alloc(bts, old_lchan->type);
+ new_lchan = lchan_alloc(bts, old_lchan->type, 0);
if (!new_lchan) {
LOGP(DHO, LOGL_NOTICE, "No free channel\n");