path: root/openbsc/src/chan_alloc.c
diff options
authorHarald Welte <laforge@gnumonks.org>2009-08-08 13:15:07 +0200
committerHarald Welte <laforge@gnumonks.org>2009-08-08 13:15:07 +0200
commitd2dc1de9d984b89a64effe58d8f334373584fb30 (patch)
treeab34318556964d87721f7613e04cf345dd4dbfd1 /openbsc/src/chan_alloc.c
parent81cff3c8c5bd4cd2845b125de791c9363b4b4594 (diff)
start using the RLL RELEASE procedures
So far, we immediately disable the RF channel without following a proper RLL RELEASE procedure. This patch changes this. If we locally terminate the connection, the channel allocator now triggers a RLL RELEASE REQuest, which is responsed by the MS with a RLL RELEASE CONFirm, based on which we send the RF CHANnel RELease to the BTS. If the MS terminates the connection, we receive a RLL RELEASE INDication, based on which we trigger RF CHANnel RELease to the BTS.
Diffstat (limited to 'openbsc/src/chan_alloc.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/chan_alloc.c b/openbsc/src/chan_alloc.c
index e3d6ae67e..a66f70e8c 100644
--- a/openbsc/src/chan_alloc.c
+++ b/openbsc/src/chan_alloc.c
@@ -239,7 +239,7 @@ int lchan_auto_release(struct gsm_lchan *lchan)
DEBUGP(DRLL, "Recycling the channel with: %d (%x)\n", lchan->nr, lchan->nr);
- rsl_chan_release(lchan);
+ rsl_release_request(lchan, 0);
return 1;