diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-07-19 18:36:49 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-07-19 18:36:49 +0200 |
commit | ae0f2362bb5a02ade62a02b73c4754922553d831 (patch) | |
tree | f89e998df60326c8b2510894cd40de21bc28269e /openbsc/src/gsm_04_08.c | |
parent | 7543eb72d0ba91d17fe7c9a6cd7d630beab1b19f (diff) |
send DEACTIVATE SACCH when sending RR CHANEL RELEASE
As per specification, we first send the RR CHANNEL RELEASE to the MS,
and then tell the BTS to disable the SACCH on that channel.
Diffstat (limited to 'openbsc/src/gsm_04_08.c')
-rw-r--r-- | openbsc/src/gsm_04_08.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c index 9fb53a723..df4d3c668 100644 --- a/openbsc/src/gsm_04_08.c +++ b/openbsc/src/gsm_04_08.c @@ -1769,7 +1769,11 @@ int gsm48_send_rr_release(struct gsm_lchan *lchan) DEBUGP(DRR, "Sending Channel Release: Chan: Number: %d Type: %d\n", lchan->nr, lchan->type); - return gsm48_sendmsg(msg); + /* Send actual release request to MS */ + gsm48_sendmsg(msg); + + /* Deactivate the SACCH on the BTS side */ + return rsl_deact_sacch(lchan); } /* Call Control */ |