aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Francois Dionne <jf.dionne@nutaq.com>2017-02-03 14:52:15 -0500
committerJean-Francois Dionne <jf.dionne@nutaq.com>2017-02-03 17:18:04 -0500
commiteb4a3392e1f91f3a1f3485c90548a73c9ae9ea15 (patch)
tree0a129a16f704926f3063687087de9db98f82d211
parent1beb9bcbe03c7e4888ddd73f0e518dd83f60d894 (diff)
Fix SACCH channel release indication not sent to BSC after location update.
Based on GSM 04.08 3.4.13 RR connection release procedure, after the network sends a deactivate SACCH it receives DISC from MS which cause BTS to send RLL release indication to BSC in order to stop T3109 timer. It has been found that after a location update BSC never receives RLL release indication which causes a T3109 timeout because no TCH is currently allocated. This fix ensures RLL release indication to be sent to BSC when no TCH is allocated in the particular case of a location update. Change-Id: Ibe2a365641eb8c9a7f0a462b7393ec3fd28cc366
-rw-r--r--src/common/rsl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c
index 74d835f0..5c4e4ff3 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -2284,7 +2284,8 @@ int lapdm_rll_tx_cb(struct msgb *msg, struct lapdm_entity *le, void *ctx)
gsm_lchan_name(lchan), rsl_msg_name(rh->msg_type));
/* REL_IND handling */
- if (rh->msg_type == RSL_MT_REL_IND) {
+ if (rh->msg_type == RSL_MT_REL_IND &&
+ (lchan->type == GSM_LCHAN_TCH_F || lchan->type == GSM_LCHAN_TCH_H)) {
LOGP(DRSL, LOGL_INFO, "%s Scheduling %s to L3 in next associated TCH-RTS.ind\n",
gsm_lchan_name(lchan),
rsl_msg_name(rh->msg_type));