From 9cc020ab21e2927869570f088c88782cf0d5689a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 24 Mar 2010 14:11:39 +0100 Subject: rll_establish: When on a TCH always use the SACH for SAPI!=0 When we are on a TCH/H or TCH/F always use the SACH for SAPI!=0 for the establishment otherwise it will never be answered. This can be tested by starting to page with a traffic channel and then trying to submit the SMS. --- openbsc/src/bsc_rll.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'openbsc/src/bsc_rll.c') diff --git a/openbsc/src/bsc_rll.c b/openbsc/src/bsc_rll.c index e9d6f252a..1551d948b 100644 --- a/openbsc/src/bsc_rll.c +++ b/openbsc/src/bsc_rll.c @@ -80,8 +80,7 @@ int rll_establish(struct gsm_lchan *lchan, u_int8_t sapi, /* If we are a TCH and not in signalling mode, we need to * indicate that the new RLL connection is to be made on the SACCH */ if ((lchan->type == GSM_LCHAN_TCH_F || - lchan->type == GSM_LCHAN_TCH_H) && - lchan->rsl_cmode != RSL_CMOD_SPD_SIGN) + lchan->type == GSM_LCHAN_TCH_H) && sapi != 0) link_id |= 0x40; use_lchan(lchan); -- cgit v1.2.3